mirror of
https://github.com/python/cpython.git
synced 2025-09-23 08:53:45 +00:00
gh-98348: Mention ReferenceError in weakref.proxy documentation (#98355)
This commit is contained in:
parent
268129a74f
commit
216f45e4fe
1 changed files with 3 additions and 0 deletions
|
@ -146,6 +146,9 @@ See :ref:`__slots__ documentation <slots>` for details.
|
||||||
prevent their use as dictionary keys. *callback* is the same as the parameter
|
prevent their use as dictionary keys. *callback* is the same as the parameter
|
||||||
of the same name to the :func:`ref` function.
|
of the same name to the :func:`ref` function.
|
||||||
|
|
||||||
|
Accessing an attribute of the proxy object after the referent is
|
||||||
|
garbage collected raises :exc:`ReferenceError`.
|
||||||
|
|
||||||
.. versionchanged:: 3.8
|
.. versionchanged:: 3.8
|
||||||
Extended the operator support on proxy objects to include the matrix
|
Extended the operator support on proxy objects to include the matrix
|
||||||
multiplication operators ``@`` and ``@=``.
|
multiplication operators ``@`` and ``@=``.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue