[Python-checkins] python/dist/src/Doc/api exceptions.tex,1.14,1.15
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
Wed, 28 May 2003 19:17:24 -0700
Update of /cvsroot/python/python/dist/src/Doc/api
In directory sc8-pr-cvs1:/tmp/cvs-serv26664/api
Modified Files:
exceptions.tex
Log Message:
SF bug #719367, string exceptions are deprecated
Remove references to string based exceptions in the doc.
Index: exceptions.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/exceptions.tex,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** exceptions.tex 29 May 2003 01:41:51 -0000 1.14
--- exceptions.tex 29 May 2003 02:17:22 -0000 1.15
***************
*** 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
--- 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
! 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
***************
*** 131,135 ****
const char *format, \moreargs}
This function sets the error indicator and returns \NULL.
! \var{exception} should be a Python exception (string or class, not
an instance). \var{format} should be a string, containing format
codes, similar to \cfunction{printf()}. The \code{width.precision}
--- 131,135 ----
const char *format, \moreargs}
This function sets the error indicator and returns \NULL.
! \var{exception} should be a Python exception (class, not
an instance). \var{format} should be a string, containing format
codes, similar to \cfunction{printf()}. The \code{width.precision}