Skip to content

Commit c417180

Browse files
committed
Docs: Fix outdated struct references in frames.md
Update references to PyInterpreterFrame and PyGenObject structs in InternalDocs
1 parent 62ff86f commit c417180

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

InternalDocs/frames.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ of three conceptual sections:
1111
previous frame, etc.
1212

1313
The definition of the `_PyInterpreterFrame` struct is in
14-
[Include/internal/pycore_frame.h](../Include/internal/pycore_frame.h).
14+
[Include/internal/pycore_interpframe_structs.h](../Include/internal/pycore_interpframe_structs.h).
1515

1616
# Allocation
1717

@@ -21,8 +21,8 @@ of reference, most frames are allocated contiguously in a per-thread stack
2121
(see `_PyThreadState_PushFrame` in [Python/pystate.c](../Python/pystate.c)).
2222

2323
Frames of generators and coroutines are embedded in the generator and coroutine
24-
objects, so are not allocated in the per-thread stack. See `PyGenObject` in
25-
[Include/internal/pycore_genobject.h](../Include/internal/pycore_genobject.h).
24+
objects, so are not allocated in the per-thread stack. See `_PyGenObject` in
25+
[Include/internal/pycore_interpframe_structs.h](../Include/internal/pycore_interpframe_structs.h).
2626

2727
## Layout
2828

0 commit comments

Comments
 (0)