diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2014-10-08 19:32:50 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-10-08 19:32:50 (GMT) |
| commit | 78184af9b5aaf8699bbf6ed1da4607685a4b96de (patch) | |
| tree | bf0a9a9fe8825b38744b73d0ceaeff46ea5561c2 /Include/pyerrors.h | |
| parent | 94262ebc9c1249c1fdec771a48e9f666c37cfcde (diff) | |
| parent | e2bd2a718602bf6d6d607fc9a0b7574a18874847 (diff) | |
| download | cpython-78184af9b5aaf8699bbf6ed1da4607685a4b96de.zip cpython-78184af9b5aaf8699bbf6ed1da4607685a4b96de.tar.gz cpython-78184af9b5aaf8699bbf6ed1da4607685a4b96de.tar.bz2 | |
Issue #21715: Extracted shared complicated code in the _io module to new
_PyErr_ChainExceptions() function.
Diffstat (limited to 'Include/pyerrors.h')
| -rw-r--r-- | Include/pyerrors.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h index 24bc2b7..65b09f0 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -123,7 +123,9 @@ PyAPI_FUNC(void) PyException_SetCause(PyObject *, PyObject *); /* Context manipulation (PEP 3134) */ PyAPI_FUNC(PyObject *) PyException_GetContext(PyObject *); PyAPI_FUNC(void) PyException_SetContext(PyObject *, PyObject *); - +#ifndef Py_LIMITED_API +PyAPI_FUNC(void) _PyErr_ChainExceptions(PyObject *, PyObject *, PyObject *); +#endif /* */ |
