summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-10-10 01:16:07 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-10-10 01:16:07 (GMT)
commitbec4d57a392179e23d2eec51db4bdc0806d692ee (patch)
tree9d6ebad4d4800f1851aa716afc00c81686c1dff3 /Doc/library
parentbf2e0aaf41958fd90d765b0e480a9885aee4de91 (diff)
downloadcpython-bec4d57a392179e23d2eec51db4bdc0806d692ee.zip
cpython-bec4d57a392179e23d2eec51db4bdc0806d692ee.tar.gz
cpython-bec4d57a392179e23d2eec51db4bdc0806d692ee.tar.bz2
Merged revisions 74524 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r74524 | gregory.p.smith | 2009-08-20 04:39:38 -0500 (Thu, 20 Aug 2009) | 2 lines Add weakref support to the thread.lock type. ........
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/weakref.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst
index 9aaa58a..dcc5bf3 100644
--- a/Doc/library/weakref.rst
+++ b/Doc/library/weakref.rst
@@ -61,6 +61,9 @@ instances, functions written in Python (but not in C), instance methods, sets,
frozensets, file objects, :term:`generator`\s, type objects, sockets, arrays,
deques, and regular expression pattern objects.
+.. versionchanged:: 3.2
+ Added support for thread.lock and threading.Lock.
+
Several built-in types such as :class:`list` and :class:`dict` do not directly
support weak references but can add support through subclassing::