mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
bpo-36669: add matmul support to weakref.proxy (GH-12932)
This commit is contained in:
parent
3cde440f20
commit
7abb6c05af
5 changed files with 31 additions and 0 deletions
|
|
@ -139,6 +139,10 @@ Extension types can easily be made to support weak references; see
|
|||
prevent their use as dictionary keys. *callback* is the same as the parameter
|
||||
of the same name to the :func:`ref` function.
|
||||
|
||||
.. versionchanged:: 3.8
|
||||
Extended the operator support on proxy objects to include the matrix
|
||||
multiplication operators ``@`` and ``@=``.
|
||||
|
||||
|
||||
.. function:: getweakrefcount(object)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue