diff options
-rw-r--r-- | Doc/library/weakref.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst index 4b0945c..9a8289a 100644 --- a/Doc/library/weakref.rst +++ b/Doc/library/weakref.rst @@ -144,6 +144,9 @@ See :ref:`__slots__ documentation <slots>` for details. prevent their use as dictionary keys. *callback* is the same as the parameter 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 Extended the operator support on proxy objects to include the matrix multiplication operators ``@`` and ``@=``. |