From: Alex Waygood Date: Tue, 29 Aug 2023 08:56:14 +0000 (+0100) Subject: [3.11] Fix misc doc typos (GH-108592) (#108613) X-Git-Tag: v3.11.6~174 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b1ed10f41363dd2460837fce33f09027a799362b;p=thirdparty%2FPython%2Fcpython.git [3.11] Fix misc doc typos (GH-108592) (#108613) (cherry picked from commit 88f1c5b) Co-authored-by: xzmeng --- diff --git a/Doc/library/idle.rst b/Doc/library/idle.rst index 3058bcead661..3211da50dc74 100644 --- a/Doc/library/idle.rst +++ b/Doc/library/idle.rst @@ -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: diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index 53c21aed2d60..f3bcfb5a28f9 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -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: diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst index 2aa344227038..246abf374b02 100644 --- a/Doc/library/tkinter.rst +++ b/Doc/library/tkinter.rst @@ -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 diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index 25ba5084d5da..c2b2dee5615b 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -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