summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2013-09-02 22:59:26 (GMT)
committerRaymond Hettinger <python@rcn.com>2013-09-02 22:59:26 (GMT)
commit69492dab07772f71aa226cbafa03f7d50309dd43 (patch)
treed1ac5b703936538b8faa0fbd5bd5851064c5010d /Include
parent7f5c22c022592e5e9a82520e152d619f58382e7d (diff)
downloadcpython-69492dab07772f71aa226cbafa03f7d50309dd43.zip
cpython-69492dab07772f71aa226cbafa03f7d50309dd43.tar.gz
cpython-69492dab07772f71aa226cbafa03f7d50309dd43.tar.bz2
Factor-out the common code for setting a KeyError.
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 a279d81..f89d1ad 100644
--- a/Include/pyerrors.h
+++ b/Include/pyerrors.h
@@ -75,6 +75,7 @@ typedef PyOSErrorObject PyWindowsErrorObject;
PyAPI_FUNC(void) PyErr_SetNone(PyObject *);
PyAPI_FUNC(void) PyErr_SetObject(PyObject *, PyObject *);
+PyAPI_FUNC(void) _PyErr_SetKeyError(PyObject *);
PyAPI_FUNC(void) PyErr_SetString(
PyObject *exception,
const char *string /* decoded from utf-8 */