summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorxzmeng <aumo@foxmail.com>2023-08-29 00:14:21 (GMT)
committerGitHub <noreply@github.com>2023-08-29 00:14:21 (GMT)
commit88f1c5b454c34efc167a94b5e2d67ec042834e5b (patch)
tree2421729f63e878985aae4d5ce946d016b06dbe16 /Doc/library
parent5c68cba268c07bac165834ad5c72448b195327c4 (diff)
downloadcpython-88f1c5b454c34efc167a94b5e2d67ec042834e5b.zip
cpython-88f1c5b454c34efc167a94b5e2d67ec042834e5b.tar.gz
cpython-88f1c5b454c34efc167a94b5e2d67ec042834e5b.tar.bz2
Fix misc doc typos (#108592)
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 0d7abae..5137e17 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -1566,7 +1566,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 368b2a1..a8a7901 100644
--- a/Doc/library/statistics.rst
+++ b/Doc/library/statistics.rst
@@ -1091,7 +1091,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 9f6c3e3..76cccc4 100644
--- a/Doc/library/tkinter.rst
+++ b/Doc/library/tkinter.rst
@@ -348,7 +348,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