[Python-checkins] python/dist/src/Doc/api exceptions.tex,1.3.6.3,1.3.6.4

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Thu, 24 Oct 2002 13:55:10 -0700


Update of /cvsroot/python/python/dist/src/Doc/api
In directory usw-pr-cvs1:/tmp/cvs-serv7649

Modified Files:
      Tag: release22-maint
	exceptions.tex 
Log Message:
Correct the description of PyErr_Restore().
Closes SF bug #577000.


Index: exceptions.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/exceptions.tex,v
retrieving revision 1.3.6.3
retrieving revision 1.3.6.4
diff -C2 -d -r1.3.6.3 -r1.3.6.4
*** exceptions.tex	25 Sep 2002 02:33:47 -0000	1.3.6.3
--- exceptions.tex	24 Oct 2002 20:55:07 -0000	1.3.6.4
***************
*** 103,108 ****
    \NULL, the error indicator is cleared.  Do not pass a \NULL{} type
    and non-\NULL{} value or traceback.  The exception type should be a
!   string or class; if it is a class, the value should be an instance
!   of that class.  Do not pass an invalid exception type or value.
    (Violating these rules will cause subtle problems later.)  This call
    takes away a reference to each object: you must own a reference to
--- 103,107 ----
    \NULL, the error indicator is cleared.  Do not pass a \NULL{} type
    and non-\NULL{} value or traceback.  The exception type should be a
!   string or class.  Do not pass an invalid exception type or value.
    (Violating these rules will cause subtle problems later.)  This call
    takes away a reference to each object: you must own a reference to
***************
*** 111,115 ****
    function.  I warned you.)  \note{This function is normally only used
    by code that needs to save and restore the error indicator
!   temporarily.}
  \end{cfuncdesc}
  
--- 110,115 ----
    function.  I warned you.)  \note{This function is normally only used
    by code that needs to save and restore the error indicator
!   temporarily; use \cfunction{PyErr_Fetch()} to save the current
!   exception state.}
  \end{cfuncdesc}