(original) (raw)

changeset: 78616:78b0f294674c branch: 2.7 parent: 78603:ba1c48f8b571 user: Richard Oudkerk shibturn@gmail.com date: Fri Aug 17 15:00:58 2012 +0100 files: Doc/library/weakref.rst description: Issue #15412: Remove erroneous note about weakrefs diff -r ba1c48f8b571 -r 78b0f294674c Doc/library/weakref.rst --- a/Doc/library/weakref.rst Wed Aug 15 23:16:51 2012 +0200 +++ b/Doc/library/weakref.rst Fri Aug 17 15:00:58 2012 +0100 @@ -53,12 +53,6 @@ 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, /shibturn@gmail.com