Skip to content

Commit 1176e14

Browse files
committed
Fix the _PyGen_GetGeneratorFromFrame reference in the generators.md
1 parent 19306a4 commit 1176e14

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
@@ -30,7 +30,7 @@ The `frame` of a generator is embedded in the generator object struct as a
3030
[`_PyInterpreterFrame`](frames.md) (see `_PyGenObject_HEAD` in
3131
[`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
33-
from the frame (see `_PyGen_GetGeneratorFromFrame` in the same file).
33+
from the frame (see `_PyGen_GetGeneratorFromFrame` in [`pycore_genobject.h`](../Include/internal/pycore_genobject.h)).
3434
Other fields of the generator struct include metadata (such as the name of
3535
the generator function) and runtime state information (such as whether its
3636
frame is executing, suspended, cleared, etc.).

0 commit comments

Comments
 (0)