summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorDavid Lowry-Duda <david@lowryduda.com>2024-06-06 21:35:24 (GMT)
committerGitHub <noreply@github.com>2024-06-06 21:35:24 (GMT)
commit5bdc87b8859c837092e7c5b19583f98488f7a387 (patch)
treec7cc1f3a4df2397f46d7096dd8a17c17e35f6465 /Doc
parente21057b99967eb5323320e6d1121955e0cd2985e (diff)
downloadcpython-5bdc87b8859c837092e7c5b19583f98488f7a387.zip
cpython-5bdc87b8859c837092e7c5b19583f98488f7a387.tar.gz
cpython-5bdc87b8859c837092e7c5b19583f98488f7a387.tar.bz2
gh-120178: Documentation typo corrections (#120179)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/glossary.rst2
-rw-r--r--Doc/library/dis.rst2
-rw-r--r--Doc/library/pdb.rst2
3 files changed, 3 insertions, 3 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index ae9949b..8685369 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -594,7 +594,7 @@ Glossary
therefore it is never deallocated.
Built-in strings and singletons are immortal objects. For example,
- :const:`True` and :const:`None` singletons are immmortal.
+ :const:`True` and :const:`None` singletons are immortal.
See `PEP 683 – Immortal Objects, Using a Fixed Refcount
<https://peps.python.org/pep-0683/>`_ for more information.
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 87d1bcd..ab46d45 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -1667,7 +1667,7 @@ iterations of the loop.
A no-op. Performs internal tracing, debugging and optimization checks.
- The ``context`` oparand consists of two parts. The lowest two bits
+ The ``context`` operand consists of two parts. The lowest two bits
indicate where the ``RESUME`` occurs:
* ``0`` The start of a function, which is neither a generator, coroutine
diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst
index cd64962..f608517 100644
--- a/Doc/library/pdb.rst
+++ b/Doc/library/pdb.rst
@@ -341,7 +341,7 @@ can be overridden by the local file.
With a *lineno* argument, set a break at line *lineno* in the current file.
The line number may be prefixed with a *filename* and a colon,
to specify a breakpoint in another file (possibly one that hasn't been loaded
- yet). The file is searched on :data:`sys.path`. Accepatable forms of *filename*
+ yet). The file is searched on :data:`sys.path`. Acceptable forms of *filename*
are ``/abspath/to/file.py``, ``relpath/file.py``, ``module`` and
``package.module``.