summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Oudkerk <shibturn@gmail.com>2012-08-17 14:05:09 (GMT)
committerRichard Oudkerk <shibturn@gmail.com>2012-08-17 14:05:09 (GMT)
commitb391b24efe9d12e44e237064ea26be43d6a6e9a2 (patch)
tree5de957f9b9c81b9ab081db44868e08a5da2f362c
parent67a58cc51570ef67002fa1244782be115f888aac (diff)
parentd9c026fd7710c2e4c074595ef0dfa026b6fa1dcf (diff)
downloadcpython-b391b24efe9d12e44e237064ea26be43d6a6e9a2.zip
cpython-b391b24efe9d12e44e237064ea26be43d6a6e9a2.tar.gz
cpython-b391b24efe9d12e44e237064ea26be43d6a6e9a2.tar.bz2
Merge
-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 63545ab..2ad1e56 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