mirror of
https://github.com/python/cpython.git
synced 2026-05-06 12:49:07 -04:00
Fix typo in doc (#128917)
This commit is contained in:
committed by
GitHub
parent
f48702dade
commit
211f41316b
@@ -11,7 +11,7 @@ execution state.
|
||||
|
||||
A generator object resumes execution in its frame when its `send()`
|
||||
method is called. This is analogous to a function executing in its own
|
||||
fram when it is called, but a function returns to the calling frame only once,
|
||||
frame when it is called, but a function returns to the calling frame only once,
|
||||
while a generator "returns" execution to the caller's frame every time
|
||||
it emits a new item with a
|
||||
[`yield` expression](https://docs.python.org/dev/reference/expressions.html#yield-expressions).
|
||||
|
||||
Reference in New Issue
Block a user