https://github.com/python/cpython/commit/5bdc87b8859c837092e7c5b19583f98488f7a387
commit: 5bdc87b8859c837092e7c5b19583f98488f7a387
branch: main
author: David Lowry-Duda <[email protected]>
committer: gaogaotiantian <[email protected]>
date: 2024-06-06T14:35:24-07:00
summary:
gh-120178: Documentation typo corrections (#120179)
files:
M Doc/glossary.rst
M Doc/library/dis.rst
M Doc/library/pdb.rst
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index ae9949bc2867c4..8685369117fd87 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 87d1bcdfaf3f1d..ab46d4554d8773 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 cd6496203949ea..f6085171dccb38 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``.
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]