From: David Lowry-Duda Date: Thu, 6 Jun 2024 21:35:24 +0000 (-0400) Subject: gh-120178: Documentation typo corrections (#120179) X-Git-Tag: v3.14.0a1~1578 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5bdc87b8859c837092e7c5b19583f98488f7a387;p=thirdparty%2FPython%2Fcpython.git gh-120178: Documentation typo corrections (#120179) --- diff --git a/Doc/glossary.rst b/Doc/glossary.rst index ae9949bc2867..8685369117fd 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 `_ for more information. diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 87d1bcdfaf3f..ab46d4554d87 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 cd6496203949..f6085171dccb 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``.