From d9c026fd7710c2e4c074595ef0dfa026b6fa1dcf Mon Sep 17 00:00:00 2001 From: Richard Oudkerk Date: Fri, 17 Aug 2012 15:02:47 +0100 Subject: [PATCH] Issue #15412: Remove erroneous note about weakrefs --- Doc/library/weakref.rst | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst index 63545abf3af..2ad1e566a95 100644 --- a/Doc/library/weakref.rst +++ b/Doc/library/weakref.rst @@ -53,12 +53,6 @@ they need -- it's not usually necessary to create your 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), instance methods, sets, frozensets, some :term:`file objects `, :term:`generator`\s, type