mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
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. ........
This commit is contained in:
parent
bf2e0aaf41
commit
bec4d57a39
2 changed files with 9 additions and 1 deletions
|
@ -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::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue