bpo-36669: add matmul support to weakref.proxy (GH-12932)

This commit is contained in:
Mark Dickinson 2019-04-26 15:56:15 +09:00 committed by GitHub
parent 3cde440f20
commit 7abb6c05af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 31 additions and 0 deletions

View file

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