File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1592,7 +1592,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
15921592 weak references to the type object itself.
15931593
15941594 It is an error to set both the :c:macro: `Py_TPFLAGS_MANAGED_WEAKREF ` bit and
1595- :c:member: `~PyTypeObject.tp_weaklist `.
1595+ :c:member: `~PyTypeObject.tp_weaklistoffset `.
15961596
15971597 **Inheritance: **
15981598
@@ -1604,7 +1604,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
16041604 **Default: **
16051605
16061606 If the :c:macro: `Py_TPFLAGS_MANAGED_WEAKREF ` bit is set in the
1607- :c:member: `~PyTypeObject.tp_dict ` field, then
1607+ :c:member: `~PyTypeObject.tp_flags ` field, then
16081608 :c:member: `~PyTypeObject.tp_weaklistoffset ` will be set to a negative value,
16091609 to indicate that it is unsafe to use this field.
16101610
You can’t perform that action at this time.
0 commit comments