summaryrefslogtreecommitdiffstats
path: root/Doc/library/weakref.rst
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2009-08-20 09:39:38 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2009-08-20 09:39:38 (GMT)
commit4e63d54b36093f35533bc0871bfa6ad3111bd048 (patch)
tree30b5e5a6177864dc9c78439737431f7e48b6b2e5 /Doc/library/weakref.rst
parent77db0165eb2a39a7986e7e5b08da420cc1388ac8 (diff)
downloadcpython-4e63d54b36093f35533bc0871bfa6ad3111bd048.zip
cpython-4e63d54b36093f35533bc0871bfa6ad3111bd048.tar.gz
cpython-4e63d54b36093f35533bc0871bfa6ad3111bd048.tar.bz2
Add weakref support to the thread.lock type.
Diffstat (limited to 'Doc/library/weakref.rst')
-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 5dcb030..a1a3314 100644
--- a/Doc/library/weakref.rst
+++ b/Doc/library/weakref.rst
@@ -65,6 +65,9 @@ and regular expression pattern objects.
.. versionchanged:: 2.4
Added support for files, sockets, arrays, and patterns.
+.. versionchanged:: 2.7
+ 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::