mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Add weakref support to sockets and re pattern objects.
This commit is contained in:
parent
027bb633b6
commit
874ebd5c3d
1 changed files with 4 additions and 0 deletions
|
@ -559,6 +559,10 @@ For example:
|
||||||
regular expression pattern \var{A} will be tested against the string; if
|
regular expression pattern \var{A} will be tested against the string; if
|
||||||
the group didn't match, the pattern \var{B} will be used instead.
|
the group didn't match, the pattern \var{B} will be used instead.
|
||||||
|
|
||||||
|
\item The \module{weakref} module now supports a wider variety of objects
|
||||||
|
including Python functions, class instances, sets, frozensets, deques,
|
||||||
|
arrays, files, sockets, and regular expression pattern objects.
|
||||||
|
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue