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.)
1592
1592
weak references to the type object itself.
1593
1593
1594
1594
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 `.
1596
1596
1597
1597
**Inheritance: **
1598
1598
@@ -1604,7 +1604,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
1604
1604
**Default: **
1605
1605
1606
1606
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
1608
1608
:c:member: `~PyTypeObject.tp_weaklistoffset ` will be set to a negative value,
1609
1609
to indicate that it is unsafe to use this field.
1610
1610
You can’t perform that action at this time.
0 commit comments