File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -237,6 +237,17 @@ \section{Built-in Exceptions}
237237 typical applications prefer to drop bits than raise an exception.
238238\end {excdesc }
239239
240+ \begin {excdesc }{ReferenceError}
241+ This exception is raised when a weak reference proxy, created by the
242+ \function {\refmodule {weakref}.proxy()} function, is used to access
243+ an attribute of the referent after it has been garbage collected.
244+ For more information on weak references, see the \refmodule {weakref}
245+ module.
246+ \versionadded [Previously known as the
247+ \exception {\refmodule {weakref}.ReferenceError}
248+ exception]{2.2}
249+ \end {excdesc }
250+
240251\begin {excdesc }{RuntimeError}
241252 Raised when an error is detected that doesn't fall in any of the
242253 other categories. The associated value is a string indicating what
Original file line number Diff line number Diff line change @@ -111,7 +111,8 @@ \section{\module{weakref} ---
111111
112112\begin {excdesc }{ReferenceError}
113113 Exception raised when a proxy object is used but the underlying
114- object has been collected.
114+ object has been collected. This is the same as the standard
115+ \exception {ReferenceError} exception.
115116\end {excdesc }
116117
117118
You can’t perform that action at this time.
0 commit comments