ID EN
Built-in Exceptions

ReferenceError

Python 3.11

This exception is raised when a weak reference proxy, created by the weakref.proxy() function, is used to access an attribute of the referent after it has been garbage collected. For more information on weak references, see the weakref module.

Syntax

PYTHON
exception ReferenceError

See Also

weakref.proxy() weakref