File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -980,6 +980,15 @@ \chapter{Exception Handling \label{exceptionHandling}}
980980line documentation. There is no C API for warning control.
981981\end {cfuncdesc }
982982
983+ \begin {cfuncdesc }{int}{PyErr_WarnExplicit}{PyObject *category, char *message,
984+ char *filename, int lineno, char *module, PyObject *registry}
985+ Issue a warning message with explicit control over all warning
986+ attributes. This is a straightforward wrapper around the Python
987+ function \function {warnings.warn_explicit()}, see there for more
988+ information. The \var {module} and \var {registry} arguments may be
989+ set to \code {NULL} to get the default effect described there.
990+ \end {cfuncdesc }
991+
983992\begin {cfuncdesc }{int}{PyErr_CheckSignals}{}
984993This function interacts with Python's signal handling. It checks
985994whether a signal has been sent to the processes and if so, invokes the
You can’t perform that action at this time.
0 commit comments