From c417180ac2815b37c8853e63e8755f027a1833f5 Mon Sep 17 00:00:00 2001 From: alperyoney Date: Wed, 16 Apr 2025 10:53:57 -0700 Subject: [PATCH] Docs: Fix outdated struct references in frames.md Update references to PyInterpreterFrame and PyGenObject structs in InternalDocs --- InternalDocs/frames.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/InternalDocs/frames.md b/InternalDocs/frames.md index 2f0cc7967f33f7..804d7436018a10 100644 --- a/InternalDocs/frames.md +++ b/InternalDocs/frames.md @@ -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