Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2cc99b3

Browse files
authored
Docs: Fix the_PyGenObject_HEAD reference in theInternalDocs/generators.md (#133739)
1 parenta1e2e6c commit2cc99b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎InternalDocs/generators.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ interpreter state.
2828

2929
The`frame` of a generator is embedded in the generator object struct as a
3030
[`_PyInterpreterFrame`](frames.md) (see`_PyGenObject_HEAD` in
31-
[`pycore_genobject.h`](../Include/internal/pycore_genobject.h)).
31+
[`pycore_interpframe_structs.h`](../Include/internal/pycore_interpframe_structs.h)).
3232
This means that we can get the frame from the generator or the generator
33-
from the frame (see`_PyGen_GetGeneratorFromFrame` inthe same file).
33+
from the frame (see`_PyGen_GetGeneratorFromFrame` in[`pycore_genobject.h`](../Include/internal/pycore_genobject.h)).
3434
Other fields of the generator struct include metadata (such as the name of
3535
the generator function) and runtime state information (such as whether its
3636
frame is executing, suspended, cleared, etc.).

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp