mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
InternalDocs: Fix outdated struct references in frames.md (#132613)
Docs: Fix outdated struct references in frames.md Co-authored-by: alperyoney <alperyoney@fb.com>
This commit is contained in:
parent
5f2ba152a0
commit
dc4a7077ac
1 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ of three conceptual sections:
|
||||||
previous frame, etc.
|
previous frame, etc.
|
||||||
|
|
||||||
The definition of the `_PyInterpreterFrame` struct is in
|
The definition of the `_PyInterpreterFrame` struct is in
|
||||||
[Include/internal/pycore_frame.h](../Include/internal/pycore_frame.h).
|
[Include/internal/pycore_interpframe_structs.h](../Include/internal/pycore_interpframe_structs.h).
|
||||||
|
|
||||||
# Allocation
|
# Allocation
|
||||||
|
|
||||||
|
@ -21,8 +21,8 @@ of reference, most frames are allocated contiguously in a per-thread stack
|
||||||
(see `_PyThreadState_PushFrame` in [Python/pystate.c](../Python/pystate.c)).
|
(see `_PyThreadState_PushFrame` in [Python/pystate.c](../Python/pystate.c)).
|
||||||
|
|
||||||
Frames of generators and coroutines are embedded in the generator and coroutine
|
Frames of generators and coroutines are embedded in the generator and coroutine
|
||||||
objects, so are not allocated in the per-thread stack. See `PyGenObject` in
|
objects, so are not allocated in the per-thread stack. See `_PyGenObject` in
|
||||||
[Include/internal/pycore_genobject.h](../Include/internal/pycore_genobject.h).
|
[Include/internal/pycore_interpframe_structs.h](../Include/internal/pycore_interpframe_structs.h).
|
||||||
|
|
||||||
## Layout
|
## Layout
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue