summaryrefslogtreecommitdiffstats
path: root/Include/cpython/pyerrors.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/cpython/pyerrors.h')
-rw-r--r--Include/cpython/pyerrors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/pyerrors.h b/Include/cpython/pyerrors.h
index 65bdc94..758804a 100644
--- a/Include/cpython/pyerrors.h
+++ b/Include/cpython/pyerrors.h
@@ -98,7 +98,7 @@ PyAPI_FUNC(void) _PyErr_GetExcInfo(PyThreadState *, PyObject **, PyObject **, Py
/* Context manipulation (PEP 3134) */
-PyAPI_FUNC(void) _PyErr_ChainExceptions(PyObject *, PyObject *, PyObject *);
+Py_DEPRECATED(3.12) PyAPI_FUNC(void) _PyErr_ChainExceptions(PyObject *, PyObject *, PyObject *);
PyAPI_FUNC(void) _PyErr_ChainExceptions1(PyObject *);
/* Like PyErr_Format(), but saves current exception as __context__ and