]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] Fix misc doc typos (GH-108592) (#108613)
authorAlex Waygood <Alex.Waygood@Gmail.com>
Tue, 29 Aug 2023 08:56:14 +0000 (09:56 +0100)
committerGitHub <noreply@github.com>
Tue, 29 Aug 2023 08:56:14 +0000 (08:56 +0000)
(cherry picked from commit 88f1c5b)

Co-authored-by: xzmeng <aumo@foxmail.com>
Doc/library/idle.rst
Doc/library/sqlite3.rst
Doc/library/tkinter.rst
Doc/using/configure.rst

index 3058bcead661f3e5f3eebfe1cf2e72e36e93857f..3211da50dc745cd4bf57d95c6724f2cde7239186 100644 (file)
@@ -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:
index 53c21aed2d60988f0e91daded3901e8bee1cc175..f3bcfb5a28f9a3ac7c116b33717419d12485939a 100644 (file)
@@ -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:
 
index 2aa344227038723f6923d1ee4e8e25fd431d4847..246abf374b02191c588498adf4e9f8a5d38cbf12 100644 (file)
@@ -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
index 25ba5084d5daa7c231e537f54042710c76364b2d..c2b2dee5615ba57fe01894e4129635c301cc913b 100644 (file)
@@ -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.
@@ -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