summaryrefslogtreecommitdiff
path: root/Include/pyerrors.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-10-08 22:31:52 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2014-10-08 22:31:52 +0300
commite2bd2a718602bf6d6d607fc9a0b7574a18874847 (patch)
tree6c5a51a532610fb6717267f2de9661b80405c6e7 /Include/pyerrors.h
parent0ddbf4795f40d2d3386dc56ffa264b50a015f6c9 (diff)
downloadcpython-git-e2bd2a718602bf6d6d607fc9a0b7574a18874847.tar.gz
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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h
index e44fb5f0eb..02f65d6603 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
/* */