[Python-checkins] r51000 - python/trunk/Doc/api/exceptions.tex

Nick Coghlan ncoghlan at gmail.com
Mon Jul 31 15:33:40 CEST 2006


andrew.kuchling wrote:
> +\begin{cfuncdesc}{int}{PyErr_Warn}{PyObject *category, char *message}
> +  Issue a warning message.  The \var{category} argument is a warning
> +  category (see below) or \NULL; the \var{message} argument is a
> +  message string.  The warning will appear to be issued from the function
> +  calling \cfunction{PyErr_Warn()}, equivalent to calling
> +  \cfunction{PyErr_Warn()} with a \var{stacklevel} of 1.

PyErr_WarnEx?

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-checkins mailing list