From 69492dab07772f71aa226cbafa03f7d50309dd43 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 2 Sep 2013 15:59:26 -0700 Subject: Factor-out the common code for setting a KeyError. --- Include/pyerrors.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Include/pyerrors.h') diff --git a/Include/pyerrors.h b/Include/pyerrors.h index a279d81541..f89d1add20 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 */ -- cgit v1.2.1