[Python-checkins] CVS: python/dist/src/Doc/api api.tex,1.107,1.108

Guido van Rossum gvanrossum@users.sourceforge.net
Wed, 28 Feb 2001 15:46:46 -0800


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

Modified Files:
	api.tex 
Log Message:
Document PyErr_WarnExplicit().


Index: api.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/api.tex,v
retrieving revision 1.107
retrieving revision 1.108
diff -C2 -r1.107 -r1.108
*** api.tex	2001/02/12 17:38:18	1.107
--- api.tex	2001/02/28 23:46:44	1.108
***************
*** 981,984 ****
--- 981,993 ----
  \end{cfuncdesc}
  
+ \begin{cfuncdesc}{int}{PyErr_WarnExplicit}{PyObject *category, char *message,
+ char *filename, int lineno, char *module, PyObject *registry}
+ Issue a warning message with explicit control over all warning
+ attributes.  This is a straightforward wrapper around the Python
+ function \function{warnings.warn_explicit()}, see there for more
+ information.  The \var{module} and \var{registry} arguments may be
+ set to \code{NULL} to get the default effect described there.
+ \end{cfuncdesc}
+ 
  \begin{cfuncdesc}{int}{PyErr_CheckSignals}{}
  This function interacts with Python's signal handling.  It checks