summaryrefslogtreecommitdiff
path: root/Doc/library/weakref.rst
diff options
context:
space:
mode:
authorRichard Oudkerk <shibturn@gmail.com>2012-08-17 15:02:47 +0100
committerRichard Oudkerk <shibturn@gmail.com>2012-08-17 15:02:47 +0100
commitd9c026fd7710c2e4c074595ef0dfa026b6fa1dcf (patch)
treede83ad5864d34c1c227833cb8e158a53980b69aa /Doc/library/weakref.rst
parent264e9ac5f5c74289f04606ed0ed9cd1f7f8cb481 (diff)
downloadcpython-git-d9c026fd7710c2e4c074595ef0dfa026b6fa1dcf.tar.gz
Issue #15412: Remove erroneous note about weakrefs
Diffstat (limited to 'Doc/library/weakref.rst')
-rw-r--r--Doc/library/weakref.rst6
1 files changed, 0 insertions, 6 deletions
diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst
index 63545abf3a..2ad1e566a9 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 <file object>`, :term:`generator`\s, type