summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-02-14 17:10:25 (GMT)
committerGuido van Rossum <guido@python.org>1997-02-14 17:10:25 (GMT)
commitc4193f1547657d9a495f1dda6fec60a55807ffc6 (patch)
treebaae9dc3547009a64317349bd917fffe92ba5ad4 /Include
parent1548bacb1406423111cff23cf167fe231b88f4bc (diff)
downloadcpython-c4193f1547657d9a495f1dda6fec60a55807ffc6.zip
cpython-c4193f1547657d9a495f1dda6fec60a55807ffc6.tar.gz
cpython-c4193f1547657d9a495f1dda6fec60a55807ffc6.tar.bz2
Added prototype for PyErr_Format(exception, formatstring, ...) -> NULL.
Diffstat (limited to 'Include')
-rw-r--r--Include/pyerrors.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h
index 431d2e6..b29ec03 100644
--- a/Include/pyerrors.h
+++ b/Include/pyerrors.h
@@ -72,6 +72,7 @@ extern DL_IMPORT(PyObject *) PyExc_ZeroDivisionError;
extern int PyErr_BadArgument Py_PROTO((void));
extern PyObject *PyErr_NoMemory Py_PROTO((void));
extern PyObject *PyErr_SetFromErrno Py_PROTO((PyObject *));
+extern PyObject *PyErr_Format Py_PROTO((PyObject *, const char *, ...));
extern void PyErr_BadInternalCall Py_PROTO((void));