]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-120178: Documentation typo corrections (#120179)
authorDavid Lowry-Duda <david@lowryduda.com>
Thu, 6 Jun 2024 21:35:24 +0000 (17:35 -0400)
committerGitHub <noreply@github.com>
Thu, 6 Jun 2024 21:35:24 +0000 (14:35 -0700)
Doc/glossary.rst
Doc/library/dis.rst
Doc/library/pdb.rst

index ae9949bc2867c46aa2db1d8a89524c3652c91f9a..8685369117fd872fa2f1f149ea67ee8c9fa93aba 100644 (file)
@@ -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.
index 87d1bcdfaf3f1dd6265f712d04907cb45c552b59..ab46d4554d87730fb4cbcffa75bdad034741f4f2 100644 (file)
@@ -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
index cd6496203949ea9c2383a249f66c6f507a2776da..f6085171dccb38948fee41750506fc5355b76070 100644 (file)
@@ -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``.