summaryrefslogtreecommitdiffstats
path: root/Doc/library/weakref.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-10-21 10:52:38 (GMT)
committerGeorg Brandl <georg@python.org>2007-10-21 10:52:38 (GMT)
commitcf3fb259329eedfa9d2c802b2ea5ced287c21e78 (patch)
treebd09350c4ac4d66064526573c19ebbcd27f77279 /Doc/library/weakref.rst
parentbb75e4e5d243a32cf31b91543b06b829c63e2c70 (diff)
downloadcpython-cf3fb259329eedfa9d2c802b2ea5ced287c21e78.zip
cpython-cf3fb259329eedfa9d2c802b2ea5ced287c21e78.tar.gz
cpython-cf3fb259329eedfa9d2c802b2ea5ced287c21e78.tar.bz2
Add :term: for generators.
Diffstat (limited to 'Doc/library/weakref.rst')
-rw-r--r--Doc/library/weakref.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst
index c5857ba..695bf94 100644
--- a/Doc/library/weakref.rst
+++ b/Doc/library/weakref.rst
@@ -50,9 +50,9 @@ 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, generators, type objects, DBcursor
-objects from the :mod:`bsddb` module, sockets, arrays, deques, and regular
-expression pattern objects.
+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.
.. versionchanged:: 2.4
Added support for files, sockets, arrays, and patterns.