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 @@ -1584,7 +1584,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
1584
1584
weak references to the type object itself.
1585
1585
1586
1586
It is an error to set both the :c:macro: `Py_TPFLAGS_MANAGED_WEAKREF ` bit and
1587
- :c:member: `~PyTypeObject.tp_weaklist `.
1587
+ :c:member: `~PyTypeObject.tp_weaklistoffset `.
1588
1588
1589
1589
**Inheritance: **
1590
1590
@@ -1596,7 +1596,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
1596
1596
**Default: **
1597
1597
1598
1598
If the :c:macro: `Py_TPFLAGS_MANAGED_WEAKREF ` bit is set in the
1599
- :c:member: `~PyTypeObject.tp_dict ` field, then
1599
+ :c:member: `~PyTypeObject.tp_flags ` field, then
1600
1600
:c:member: `~PyTypeObject.tp_weaklistoffset ` will be set to a negative value,
1601
1601
to indicate that it is unsafe to use this field.
1602
1602
You can’t perform that action at this time.
0 commit comments