Skip to content

Commit

Permalink
[3.11] Fix misc doc typos (pythonGH-108592) (python#108613)
Browse files Browse the repository at this point in the history
(cherry picked from commit 88f1c5b)

Co-authored-by: xzmeng <aumo@foxmail.com>
  • Loading branch information
AlexWaygood and xzmeng authored Aug 29, 2023
1 parent ed749be commit b1ed10f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Doc/library/idle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ Search and Replace

Any selection becomes a search target. However, only selections within
a line work because searches are only performed within lines with the
terminal newline removed. If ``[x] Regular expresion`` is checked, the
terminal newline removed. If ``[x] Regular expression`` is checked, the
target is interpreted according to the Python re module.

.. _completions:
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,7 @@ Cursor objects

:raises ProgrammingError:
If *sql* contains more than one SQL statement,
or is not a DML statment.
or is not a DML statement.

Example:

Expand Down
2 changes: 1 addition & 1 deletion Doc/library/tkinter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ Understanding How Tkinter Wraps Tcl/Tk

When your application uses Tkinter's classes and methods, internally Tkinter
is assembling strings representing Tcl/Tk commands, and executing those
commands in the Tcl interpreter attached to your applicaton's :class:`Tk`
commands in the Tcl interpreter attached to your application's :class:`Tk`
instance.

Whether it's trying to navigate reference documentation, trying to find
Expand Down
4 changes: 2 additions & 2 deletions Doc/using/configure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Install Options
Install architecture-independent files in PREFIX. On Unix, it
defaults to :file:`/usr/local`.

This value can be retrived at runtime using :data:`sys.prefix`.
This value can be retrieved at runtime using :data:`sys.prefix`.

As an example, one can use ``--prefix="$HOME/.local/"`` to install
a Python in its home directory.
Expand All @@ -188,7 +188,7 @@ Install Options

Install architecture-dependent files in EPREFIX, defaults to :option:`--prefix`.

This value can be retrived at runtime using :data:`sys.exec_prefix`.
This value can be retrieved at runtime using :data:`sys.exec_prefix`.

.. cmdoption:: --disable-test-modules

Expand Down

0 comments on commit b1ed10f

Please sign in to comment.