[Python-checkins] r42748 - in python/trunk: Doc/api/exceptions.tex Doc/lib/libexcs.tex Doc/tut/tut.tex Python/exceptions.c

George Yoshida dynkin at gmail.com
Thu Mar 2 04:29:41 CET 2006


On 3/2/06, brett.cannon <python-checkins at python.org> wrote:
> Author: brett.cannon
> Date: Wed Mar  1 23:10:49 2006
> New Revision: 42748
>
> Modified:
>   python/trunk/Doc/api/exceptions.tex
>   python/trunk/Doc/lib/libexcs.tex
>   python/trunk/Doc/tut/tut.tex
>   python/trunk/Python/exceptions.c
> Log:
> Document PEP 352 changes.  Also added GeneratorExit.
>

Hmm, your commit triggers a latex compile error.

-- geprge

Index: Doc/lib/libexcs.tex
===================================================================
--- Doc/lib/libexcs.tex (revision 42767)
+++ Doc/lib/libexcs.tex (working copy)
@@ -82,6 +82,7 @@
 eventually be deprecated and thus its use is discouraged.
 \versionchanged[Changed to inherit from \exception{BaseException}]{2.5}
 \versionadded{2.5}
+\end{excdesc}

 \begin{excdesc}{Exception}
 All built-in, non-system-exiting exceptions are derived
@@ -168,11 +169,12 @@
   \file{pyconfig.h} file.
 \end{excdesc}

-\begin{excdesv}{GeneratorExit}
+\begin{excdesc}{GeneratorExit}
   Raise when a generator's \method{close()} method is called.
   It directly inherits from \exception{Exception} instead of
   \exception{StandardError} since it is technically not an error.
   \versionadded{2.5}
+\end{excdesc}

 \begin{excdesc}{IOError}
 % XXXJH xrefs here
-------------- next part --------------
A non-text attachment was scrubbed...
Name: doc.diff
Type: application/octet-stream
Size: 854 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-checkins/attachments/20060302/7e8051d1/attachment-0001.obj 


More information about the Python-checkins mailing list