Skip to content

Commit b803053

Browse files
xzmengAlexWaygood
authored andcommitted
Fix misc doc typos (python#108592)
1 parent ed749be commit b803053

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

Doc/library/idle.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ Search and Replace
479479

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

485485
.. _completions:

Doc/library/sqlite3.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1380,7 +1380,7 @@ Cursor objects
13801380

13811381
:raises ProgrammingError:
13821382
If *sql* contains more than one SQL statement,
1383-
or is not a DML statment.
1383+
or is not a DML statement.
13841384

13851385
Example:
13861386

Doc/library/statistics.rst

-1
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,6 @@ The final prediction goes to the largest posterior. This is known as the
10261026
>>> 'male' if posterior_male > posterior_female else 'female'
10271027
'female'
10281028

1029-
10301029
..
10311030
# This modelines must appear within the last ten lines of the file.
10321031
kate: indent-width 3; remove-trailing-space on; replace-tabs on; encoding utf-8;

Doc/library/tkinter.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ Understanding How Tkinter Wraps Tcl/Tk
352352

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

358358
Whether it's trying to navigate reference documentation, trying to find

Doc/using/configure.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ Install Options
179179
Install architecture-independent files in PREFIX. On Unix, it
180180
defaults to :file:`/usr/local`.
181181

182-
This value can be retrived at runtime using :data:`sys.prefix`.
182+
This value can be retrieved at runtime using :data:`sys.prefix`.
183183

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

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

191-
This value can be retrived at runtime using :data:`sys.exec_prefix`.
191+
This value can be retrieved at runtime using :data:`sys.exec_prefix`.
192192

193193
.. cmdoption:: --disable-test-modules
194194

0 commit comments

Comments
 (0)