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:
Benjamin Peterson 2009-10-10 01:16:07 +00:00
parent bf2e0aaf41
commit bec4d57a39
2 changed files with 9 additions and 1 deletions

View file

@ -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::