summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Oudkerk <shibturn@gmail.com>2012-08-17 14:00:58 (GMT)
committerRichard Oudkerk <shibturn@gmail.com>2012-08-17 14:00:58 (GMT)
commit3c3ab22d364b7eeba049a6695eb0168be80415d5 (patch)
treedd15ddf22fdd0af73c34c1a222042d3025e3122b
parentc5bef75c77af414c2f6c5901b6838d3071313bc7 (diff)
downloadcpython-3c3ab22d364b7eeba049a6695eb0168be80415d5.zip
cpython-3c3ab22d364b7eeba049a6695eb0168be80415d5.tar.gz
cpython-3c3ab22d364b7eeba049a6695eb0168be80415d5.tar.bz2
Issue #15412: Remove erroneous note about weakrefs
-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 7929c51..950266e 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,