summaryrefslogtreecommitdiffstats
path: root/Include/pyerrors.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-02-28 21:44:20 (GMT)
committerGuido van Rossum <guido@python.org>2001-02-28 21:44:20 (GMT)
commit1bcb7e9327414d1e8675597b91e4f6e0441315fc (patch)
tree1d22473629d3834c4f889f40c0ee303335db2932 /Include/pyerrors.h
parent9e2631897539a95f1413df00847544487fb3b827 (diff)
downloadcpython-1bcb7e9327414d1e8675597b91e4f6e0441315fc.zip
cpython-1bcb7e9327414d1e8675597b91e4f6e0441315fc.tar.gz
cpython-1bcb7e9327414d1e8675597b91e4f6e0441315fc.tar.bz2
Add declaration for PyErr_WarnExplicit().
Diffstat (limited to 'Include/pyerrors.h')
-rw-r--r--Include/pyerrors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h
index 7d8ed84..622af2d 100644
--- a/Include/pyerrors.h
+++ b/Include/pyerrors.h
@@ -94,6 +94,8 @@ extern DL_IMPORT(void) PyErr_WriteUnraisable(PyObject *);
/* Issue a warning or exception */
extern DL_IMPORT(int) PyErr_Warn(PyObject *, char *);
+extern DL_IMPORT(int) PyErr_WarnExplicit(PyObject *, char *,
+ char *, int, char *, PyObject *);
/* In sigcheck.c or signalmodule.c */
extern DL_IMPORT(int) PyErr_CheckSignals(void);