Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update generators.md
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
  • Loading branch information
iritkatriel and tomasr8 authored Jan 5, 2025
commit dbee274decbf193d4db13f8c279182eb6cd843b7
2 changes: 1 addition & 1 deletion InternalDocs/generators.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ in the sense that it puts a value on the stack and returns execution to the
calling frame, but it also needs to perform additional work to leave the generator
frame in a state that allows it to be resumed. In particular, it updates the frame's
instruction pointer and stores the interpreter's exception state on the generator
object. When the generator it resumed, this exception state is copied back to the
object. When the generator is resumed, this exception state is copied back to the
interpreter state.

The `frame` of a generator is embedded in the generator object struct (see
Expand Down