Commit 3c3ab22d authored by Richard Oudkerk's avatar Richard Oudkerk

Issue #15412: Remove erroneous note about weakrefs

parent c5bef75c
......@@ -53,12 +53,6 @@ own weak references directly. The low-level machinery used by the weak
dictionary implementations is exposed by the :mod:`weakref` module for the
benefit of advanced uses.
.. note::
Weak references to an object are cleared before the object's :meth:`__del__`
is called, to ensure that the weak reference callback (if any) finds the
object still alive.
Not all objects can be weakly referenced; those objects which can include class
instances, functions written in Python (but not in C), methods (both bound and
unbound), sets, frozensets, file objects, :term:`generator`\s, type objects,
......
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