Skip to content

Commit 19306a4

Browse files
committed
Fix the _PyGenObject_HEAD reference in the generators.md
1 parent ebd4881 commit 19306a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

InternalDocs/generators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ interpreter state.
2828

2929
The `frame` of a generator is embedded in the generator object struct as a
3030
[`_PyInterpreterFrame`](frames.md) (see `_PyGenObject_HEAD` in
31-
[`pycore_genobject.h`](../Include/internal/pycore_genobject.h)).
31+
[`pycore_interpframe_structs.h`](../Include/internal/pycore_interpframe_structs.h)).
3232
This means that we can get the frame from the generator or the generator
3333
from the frame (see `_PyGen_GetGeneratorFromFrame` in the same file).
3434
Other fields of the generator struct include metadata (such as the name of

0 commit comments

Comments
 (0)