https://github.com/python/cpython/commit/77e29c75da6598d8e2bb8704ae42a69e44e2d874
commit: 77e29c75da6598d8e2bb8704ae42a69e44e2d874
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: gpshead <[email protected]>
date: 2025-01-18T00:52:10Z
summary:

[3.13] Fix definition of a `generator iterator` in `glossary.rst` (GH-128952) 
(#128967)

Fix definition of a `generator iterator` in `glossary.rst` (GH-128952)

Fix possible typo/grammar in glossary.rst

As discussed in 
https://discuss.python.org/t/typo-in-glossary-entry-for-generator-iterator/77163
(cherry picked from commit 8174770d311ba09c07a47cc3ae90a1db2e7d7708)

Co-authored-by: Daniel F Moisset <[email protected]>

files:
M Doc/glossary.rst

diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 5c56c419514da1..d8488ca99246d2 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -110,7 +110,7 @@ Glossary
       :keyword:`yield` expression.
 
       Each :keyword:`yield` temporarily suspends processing, remembering the
-      location execution state (including local variables and pending
+      execution state (including local variables and pending
       try-statements).  When the *asynchronous generator iterator* effectively
       resumes with another awaitable returned by :meth:`~object.__anext__`, it
       picks up where it left off.  See :pep:`492` and :pep:`525`.
@@ -554,7 +554,7 @@ Glossary
       An object created by a :term:`generator` function.
 
       Each :keyword:`yield` temporarily suspends processing, remembering the
-      location execution state (including local variables and pending
+      execution state (including local variables and pending
       try-statements).  When the *generator iterator* resumes, it picks up 
where
       it left off (in contrast to functions which start fresh on every
       invocation).

_______________________________________________
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]

Reply via email to