Commit a6bc4b4c authored by Antoine Pitrou's avatar Antoine Pitrou

Issue #14933: fix misleading doc about weakref support in extension types.

parents 96f806bc 13775221
......@@ -1437,9 +1437,8 @@ The type constructor is responsible for initializing the weak reference list to
}
The only further addition is that the destructor needs to call the weak
reference manager to clear any weak references. This should be done before any
other parts of the destruction have occurred, but is only required if the weak
reference list is non-*NULL*::
reference manager to clear any weak references. This is only required if the
weak reference list is non-*NULL*::
static void
instance_dealloc(PyInstanceObject *inst)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment