]> granicus.if.org Git - python/commitdiff
Issue #15412: Remove erroneous note about weakrefs
authorRichard Oudkerk <shibturn@gmail.com>
Fri, 17 Aug 2012 14:00:58 +0000 (15:00 +0100)
committerRichard Oudkerk <shibturn@gmail.com>
Fri, 17 Aug 2012 14:00:58 +0000 (15:00 +0100)
Doc/library/weakref.rst

index 7929c5179e596659fadffc001dbe2228d14e17f1..950266ead7dcbba908aa3729a757082d61400211 100644 (file)
@@ -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,