Skip to content

Commit dc4a707

Browse files
authored
InternalDocs: Fix outdated struct references in frames.md (#132613)
Docs: Fix outdated struct references in frames.md Co-authored-by: alperyoney <[email protected]>
1 parent 5f2ba15 commit dc4a707

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

InternalDocs/frames.md

+3-3
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)