summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-08-29 10:38:03 (GMT)
committerGitHub <noreply@github.com>2023-08-29 10:38:03 (GMT)
commitae9bbd16d8f093304168f0058282df930a04f710 (patch)
tree150c8b3dd3f9728152250de5ca5c160a21a4512f /Doc/library
parent7c7b2bfb3f5173936443f3f270788dd6d8f2c7cc (diff)
downloadcpython-ae9bbd16d8f093304168f0058282df930a04f710.zip
cpython-ae9bbd16d8f093304168f0058282df930a04f710.tar.gz
cpython-ae9bbd16d8f093304168f0058282df930a04f710.tar.bz2
[3.12] Fix misc doc typos (GH-108592) (#108594)
Fix misc doc typos (GH-108592) (cherry picked from commit 88f1c5b454c34efc167a94b5e2d67ec042834e5b) Co-authored-by: xzmeng <aumo@foxmail.com>
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/idle.rst2
-rw-r--r--Doc/library/importlib.rst2
-rw-r--r--Doc/library/sqlite3.rst2
-rw-r--r--Doc/library/statistics.rst2
-rw-r--r--Doc/library/tkinter.rst2
5 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/idle.rst b/Doc/library/idle.rst
index 3058bce..3211da5 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/importlib.rst b/Doc/library/importlib.rst
index 1d378db..d8cc707 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -1270,7 +1270,7 @@ an :term:`importer`.
You can get the same effect as this function by implementing the
basic interface of multi-phase init (:pep:`489`) and lying about
- support for mulitple interpreters (or per-interpreter GIL).
+ support for multiple interpreters (or per-interpreter GIL).
.. warning::
Using this function to disable the check can lead to
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index 93ca468..d5afaa1 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -1547,7 +1547,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/statistics.rst b/Doc/library/statistics.rst
index 483ebea..6e6ca7c 100644
--- a/Doc/library/statistics.rst
+++ b/Doc/library/statistics.rst
@@ -1086,7 +1086,7 @@ parameter, ``h``, representing the variance of the kernel function.
import math
def kde_normal(sample, h):
- "Create a continous probability density function from a sample."
+ "Create a continuous probability density function from a sample."
# Smooth the sample with a normal distribution of variance h.
kernel_h = NormalDist(0.0, math.sqrt(h)).pdf
n = len(sample)
diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst
index 2aa3442..246abf3 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