Skip to content

Commit 760683f

Browse files
committed
Fix documentation to correct reference to Py_TPFLAGS_MANAGED_WEAKREF in typeobj.rst
1 parent a3e4929 commit 760683f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/typeobj.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1605,7 +1605,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
16051605
Do not confuse this field with :c:member:`~PyTypeObject.tp_weaklist`; that is the list head for
16061606
weak references to the type object itself.
16071607

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

16111611
**Inheritance:**

0 commit comments

Comments
 (0)