[Python-checkins] CVS: python/dist/src/Doc/lib libexcs.tex,1.41,1.42 libweakref.tex,1.11,1.12
Fred L. Drake
fdrake@users.sourceforge.net
Fri, 05 Oct 2001 23:10:56 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv24028/lib
Modified Files:
libexcs.tex libweakref.tex
Log Message:
Update the documentation to reflect the changes to ReferenceError.
Index: libexcs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libexcs.tex,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** libexcs.tex 2001/09/21 21:12:30 1.41
--- libexcs.tex 2001/10/06 06:10:54 1.42
***************
*** 238,241 ****
--- 238,252 ----
\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
Index: libweakref.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libweakref.tex,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** libweakref.tex 2001/08/03 03:50:28 1.11
--- libweakref.tex 2001/10/06 06:10:54 1.12
***************
*** 112,116 ****
\begin{excdesc}{ReferenceError}
Exception raised when a proxy object is used but the underlying
! object has been collected.
\end{excdesc}
--- 112,117 ----
\begin{excdesc}{ReferenceError}
Exception raised when a proxy object is used but the underlying
! object has been collected. This is the same as the standard
! \exception{ReferenceError} exception.
\end{excdesc}