mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Complete the list of weakreferencable objects.
This commit is contained in:
parent
6c7a00fbaa
commit
34809170e5
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ by the \module{weakref} module for the 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 \module{bsddb} module,
|
||||
sockets, arrays, deques, and regular expression pattern objects.
|
||||
\versionchanged[Added support for files, sockets, arrays, and patterns]{2.4}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue