From: Richard Oudkerk Date: Fri, 17 Aug 2012 14:00:58 +0000 (+0100) Subject: Issue #15412: Remove erroneous note about weakrefs X-Git-Tag: v2.7.5~109^2~373 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c3ab22d364b7eeba049a6695eb0168be80415d5;p=python Issue #15412: Remove erroneous note about weakrefs --- diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst index 7929c5179e..950266ead7 100644 --- a/Doc/library/weakref.rst +++ b/Doc/library/weakref.rst @@ -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,