[Python-checkins] CVS: python/dist/src/Doc/api api.tex,1.95,1.96
Fred L. Drake
python-dev@python.org
Fri, 13 Oct 2000 22:49:33 -0700
Update of /cvsroot/python/python/dist/src/Doc/api
In directory slayer.i.sourceforge.net:/tmp/cvs-serv16239/api
Modified Files:
api.tex
Log Message:
For PyErr_Format(), note that the exception parameter can be a string or
class, but not an instance (since an instance will be created using the
formatted message string as the constructor parameter).
Index: api.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/api.tex,v
retrieving revision 1.95
retrieving revision 1.96
diff -C2 -r1.95 -r1.96
*** api.tex 2000/10/07 12:31:50 1.95
--- api.tex 2000/10/14 05:49:30 1.96
***************
*** 883,888 ****
\begin{cfuncdesc}{PyObject*}{PyErr_Format}{PyObject *exception,
const char *format, \moreargs}
! This function sets the error indicator.
! \var{exception} should be a Python object.
\var{fmt} should be a string, containing format codes, similar to
\cfunction{printf}. The \code{width.precision} before a format code
--- 883,888 ----
\begin{cfuncdesc}{PyObject*}{PyErr_Format}{PyObject *exception,
const char *format, \moreargs}
! This function sets the error indicator. \var{exception} should be a
! Python exception (string or class, not an instance).
\var{fmt} should be a string, containing format codes, similar to
\cfunction{printf}. The \code{width.precision} before a format code