https://github.com/python/cpython/commit/2cc99b3dd3db5e9433e839a876d3a8041221cec5
commit: 2cc99b3dd3db5e9433e839a876d3a8041221cec5
branch: main
author: Nybblista <170842536+nybbli...@users.noreply.github.com>
committer: kumaraditya303 <kumaradi...@python.org>
date: 2025-05-18T21:56:58+05:30
summary:

Docs: Fix the `_PyGenObject_HEAD` reference in the `InternalDocs/generators.md` 
(#133739)

files:
M InternalDocs/generators.md

diff --git a/InternalDocs/generators.md b/InternalDocs/generators.md
index 87fbb91236844b..979a5b51521e4e 100644
--- a/InternalDocs/generators.md
+++ b/InternalDocs/generators.md
@@ -28,9 +28,9 @@ interpreter state.
 
 The `frame` of a generator is embedded in the generator object struct as a
 [`_PyInterpreterFrame`](frames.md) (see `_PyGenObject_HEAD` in
-[`pycore_genobject.h`](../Include/internal/pycore_genobject.h)).
+[`pycore_interpframe_structs.h`](../Include/internal/pycore_interpframe_structs.h)).
 This means that we can get the frame from the generator or the generator
-from the frame (see `_PyGen_GetGeneratorFromFrame` in the same file).
+from the frame (see `_PyGen_GetGeneratorFromFrame` in 
[`pycore_genobject.h`](../Include/internal/pycore_genobject.h)).
 Other fields of the generator struct include metadata (such as the name of
 the generator function) and runtime state information (such as whether its
 frame is executing, suspended, cleared, etc.).

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to