diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2023-04-01 20:30:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-01 20:30:23 (GMT) |
commit | 06249ec89fffdab25f7088c86fcbbfdcebcc3ebd (patch) | |
tree | abab9c08840e3c841b05165a14f9c22a80572e56 /Include | |
parent | 848bdbe166b71ab2ac2c0c1d88432fb995d1444c (diff) | |
download | cpython-06249ec89fffdab25f7088c86fcbbfdcebcc3ebd.zip cpython-06249ec89fffdab25f7088c86fcbbfdcebcc3ebd.tar.gz cpython-06249ec89fffdab25f7088c86fcbbfdcebcc3ebd.tar.bz2 |
gh-102192: deprecate _PyErr_ChainExceptions (#102935)
Diffstat (limited to 'Include')
-rw-r--r-- | Include/cpython/pyerrors.h | 2 |
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 |