diff options
author | Fred Drake <fdrake@acm.org> | 2001-10-06 06:10:54 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-10-06 06:10:54 (GMT) |
commit | 8c2c3d301b38c2b76c462df89669b4deddfcfa6a (patch) | |
tree | 37aaf4df5b1b2e212fc91984fcac5769934b1675 /Doc/lib/libexcs.tex | |
parent | df5cfd884d5da8a9a0b620b232f9ecfea6f77224 (diff) | |
download | cpython-8c2c3d301b38c2b76c462df89669b4deddfcfa6a.zip cpython-8c2c3d301b38c2b76c462df89669b4deddfcfa6a.tar.gz cpython-8c2c3d301b38c2b76c462df89669b4deddfcfa6a.tar.bz2 |
Update the documentation to reflect the changes to ReferenceError.
Diffstat (limited to 'Doc/lib/libexcs.tex')
-rw-r--r-- | Doc/lib/libexcs.tex | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex index 5571086..08defcc 100644 --- a/Doc/lib/libexcs.tex +++ b/Doc/lib/libexcs.tex @@ -237,6 +237,17 @@ Raised when an \keyword{assert} statement fails. typical applications prefer to drop bits than raise an exception. \end{excdesc} +\begin{excdesc}{ReferenceError} + This exception is raised when a weak reference proxy, created by the + \function{\refmodule{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 \refmodule{weakref} + module. + \versionadded[Previously known as the + \exception{\refmodule{weakref}.ReferenceError} + exception]{2.2} +\end{excdesc} + \begin{excdesc}{RuntimeError} Raised when an error is detected that doesn't fall in any of the other categories. The associated value is a string indicating what |