]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
InternalDocs: Fix outdated struct references in frames.md (#132613)
authorAlper <alper_yoney@hotmail.com>
Sun, 20 Apr 2025 22:24:21 +0000 (15:24 -0700)
committerGitHub <noreply@github.com>
Sun, 20 Apr 2025 22:24:21 +0000 (23:24 +0100)
Docs: Fix outdated struct references in frames.md

Co-authored-by: alperyoney <alperyoney@fb.com>
InternalDocs/frames.md

index 2f0cc7967f33f72ba54ec2a1001dbd50b7529cc7..804d7436018a10e6962c52a0280b071af8bea842 100644 (file)
@@ -11,7 +11,7 @@ of three conceptual sections:
   previous frame, etc.
 
 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
 
@@ -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)).
 
 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
-[Include/internal/pycore_genobject.h](../Include/internal/pycore_genobject.h).
+objects, so are not allocated in the per-thread stack. See `_PyGenObject` in
+[Include/internal/pycore_interpframe_structs.h](../Include/internal/pycore_interpframe_structs.h).
 
 ## Layout