Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8ee250b

Browse filesBrowse files
[3.12] Fix definition of a generator iterator in glossary.rst (GH-128952) (#128968)
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 <dfmoisset@gmail.com>
1 parent f45da82 commit 8ee250b
Copy full SHA for 8ee250b

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎Doc/glossary.rst

Copy file name to clipboardExpand all lines: Doc/glossary.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Glossary
118118
:keyword:`yield` expression.
119119

120120
Each :keyword:`yield` temporarily suspends processing, remembering the
121-
location execution state (including local variables and pending
121+
execution state (including local variables and pending
122122
try-statements). When the *asynchronous generator iterator* effectively
123123
resumes with another awaitable returned by :meth:`~object.__anext__`, it
124124
picks up where it left off. See :pep:`492` and :pep:`525`.
@@ -505,7 +505,7 @@ Glossary
505505
An object created by a :term:`generator` function.
506506

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.