8000 gh-74929: PEP 667 C API documentation by ncoghlan · Pull Request #119379 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-74929: PEP 667 C API documentation #119379

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 1, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix locals/globals equivalence
  • Loading branch information
ncoghlan authored May 30, 2024
commit b827c7e92b63b88a0c876f926bf6a114a176c155
4 changes: 2 additions & 2 deletions Doc/c-api/reflection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Reflection

Return a dictionary of the local variables in the current execution frame,
or ``NULL`` if no frame is currently executing. Equivalent to calling
:func:`globals` in Python code.
:func:`locals` in Python code.

.. versionadded:: 3.13

Expand All @@ -63,7 +63,7 @@ Reflection

Return a dictionary of the global variables in the current execution frame,
or ``NULL`` if no frame is currently executing. Equivalent to calling
:func:`locals` in Python code.
:func:`globals` in Python code.

.. versionadded:: 3.13

Expand Down
0