summaryrefslogtreecommitdiffstats
path: root/Doc/library/weakref.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-11-27 12:43:08 (GMT)
committerGeorg Brandl <georg@python.org>2007-11-27 12:43:08 (GMT)
commit2e0b7557b19293223cfd4f5f21ae5d80ccc55bbd (patch)
treefa2e1af6bc316f3cc04abdebff56954c984c7b33 /Doc/library/weakref.rst
parentff737954f3ee3005236133fc51b55a508b11aa06 (diff)
downloadcpython-2e0b7557b19293223cfd4f5f21ae5d80ccc55bbd.zip
cpython-2e0b7557b19293223cfd4f5f21ae5d80ccc55bbd.tar.gz
cpython-2e0b7557b19293223cfd4f5f21ae5d80ccc55bbd.tar.bz2
Futher update docs after unbound method removal.
Diffstat (limited to 'Doc/library/weakref.rst')
-rw-r--r--Doc/library/weakref.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst
index 3adf318..9a1e076 100644
--- a/Doc/library/weakref.rst
+++ b/Doc/library/weakref.rst
@@ -50,10 +50,10 @@ directly. The low-level machinery used by the weak dictionary implementations
is exposed by the :mod:`weakref` module for the benefit of advanced uses.
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,
-:class:`DBcursor` objects from the :mod:`bsddb` module, sockets, arrays, deques,
-and regular expression pattern objects.
+instances, functions written in Python (but not in C), instance methods, sets,
+frozensets, file objects, :term:`generator`\s, type objects, :class:`DBcursor`
+objects from the :mod:`bsddb` module, sockets, arrays, deques, and regular
+expression pattern objects.
Several builtin types such as :class:`list` and :class:`dict` do not directly
support weak references but can add support through subclassing::