mirror of
https://github.com/python/cpython.git
synced 2025-12-07 17:57:56 +00:00
Closes #23244: fix typo. Thanks Mayank Tripathi for the patch.
This commit is contained in:
parent
8a12329281
commit
caa12dab69
1 changed files with 1 additions and 1 deletions
|
|
@ -292,7 +292,7 @@ Glossary
|
||||||
generator
|
generator
|
||||||
A function which returns an iterator. It looks like a normal function
|
A function which returns an iterator. It looks like a normal function
|
||||||
except that it contains :keyword:`yield` statements for producing a series
|
except that it contains :keyword:`yield` statements for producing a series
|
||||||
a values usable in a for-loop or that can be retrieved one at a time with
|
of values usable in a for-loop or that can be retrieved one at a time with
|
||||||
the :func:`next` function. Each :keyword:`yield` temporarily suspends
|
the :func:`next` function. Each :keyword:`yield` temporarily suspends
|
||||||
processing, remembering the location execution state (including local
|
processing, remembering the location execution state (including local
|
||||||
variables and pending try-statements). When the generator resumes, it
|
variables and pending try-statements). When the generator resumes, it
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue