Skip to content

Commit 77e29c7

Browse files
[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 8174770) Co-authored-by: Daniel F Moisset <[email protected]>
1 parent 34ded1a commit 77e29c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/glossary.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Glossary
110110
:keyword:`yield` expression.
111111

112112
Each :keyword:`yield` temporarily suspends processing, remembering the
113-
location execution state (including local variables and pending
113+
execution state (including local variables and pending
114114
try-statements). When the *asynchronous generator iterator* effectively
115115
resumes with another awaitable returned by :meth:`~object.__anext__`, it
116116
picks up where it left off. See :pep:`492` and :pep:`525`.
@@ -554,7 +554,7 @@ Glossary
554554
An object created by a :term:`generator` function.
555555

556556
Each :keyword:`yield` temporarily suspends processing, remembering the
557-
location execution state (including local variables and pending
557+
execution state (including local variables and pending
558558
try-statements). When the *generator iterator* resumes, it picks up where
559559
it left off (in contrast to functions which start fresh on every
560560
invocation).

0 commit comments

Comments
 (0)