10000 gh-129912: Fix documentation to correct references to Py_TPFLAGS_MANAGED_DICT in… by isatyamks · Pull Request #130044 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-129912: Fix documentation to correct references to Py_TPFLAGS_MANAGED_DICT in… #130044

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 6 commits into from
Feb 12, 2025
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
Next Next commit
Fix documentation to correct references to Py_TPFLAGS_MANAGED_DICT in…
… typeobj.rst
  • Loading branch information
isatyamks committed Feb 12, 2025
commit a3e49295b1873e66b0fa193ccdc5f3e603073c3d
4 changes: 2 additions & 2 deletions Doc/c-api/typeobj.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
Do not confuse this field with :c:member:`~PyTypeObject.tp_weaklist`; that is the list head for
weak references to the type object itself.

It is an error to set both the :c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` bit and
It is an error to set both the :c:macro:`Py_TPFLAGS_MANAGED_DICT` bit and
:c:member:`~PyTypeObject.tp_weaklistoffset`.

**Inheritance:**
Expand Down Expand Up @@ -1830,7 +1830,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
dictionary, so it is may be more efficient to call :c:func:`PyObject_GetAttr`
when accessing an attribute on the object.

It is an error to set both the :c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` bit and
It is an error to set both the :c:macro:`Py_TPFLAGS_MANAGED_DICT` bit and
:c:member:`~PyTypeObject.tp_dictoffset`.

**Inheritance:**
Expand Down
Loading
0