Commit 874ebd5c authored by Raymond Hettinger's avatar Raymond Hettinger

Add weakref support to sockets and re pattern objects.

parent 027bb633
...@@ -558,6 +558,10 @@ For example: ...@@ -558,6 +558,10 @@ For example:
earlier in the expression. If the specified group matched, the earlier in the expression. If the specified group matched, the
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}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment