mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
Factor-out the common code for setting a KeyError.
This commit is contained in:
parent
7f5c22c022
commit
69492dab07
4 changed files with 20 additions and 33 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue