summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-06-01 20:57:28 (GMT)
committerGitHub <noreply@github.com>2023-06-01 20:57:28 (GMT)
commit60f8117d0c685c2923b7cb17b725b67cd41e8410 (patch)
treeb0629bc2f89e877a466504eb1b7ce5b049c41da7 /Include
parentede89af605b1c0442353435ad22195c16274f65d (diff)
downloadcpython-60f8117d0c685c2923b7cb17b725b67cd41e8410.zip
cpython-60f8117d0c685c2923b7cb17b725b67cd41e8410.tar.gz
cpython-60f8117d0c685c2923b7cb17b725b67cd41e8410.tar.bz2
gh-105140: remove unused arg of _PyErr_ChainStackItem (#105141)
Diffstat (limited to 'Include')
-rw-r--r--Include/internal/pycore_pyerrors.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Include/internal/pycore_pyerrors.h b/Include/internal/pycore_pyerrors.h
index 4620a26..d75bef0 100644
--- a/Include/internal/pycore_pyerrors.h
+++ b/Include/internal/pycore_pyerrors.h
@@ -61,8 +61,7 @@ PyAPI_FUNC(void) _PyErr_SetObject(
PyObject *type,
PyObject *value);
-PyAPI_FUNC(void) _PyErr_ChainStackItem(
- _PyErr_StackItem *exc_info);
+PyAPI_FUNC(void) _PyErr_ChainStackItem(void);
PyAPI_FUNC(void) _PyErr_Clear(PyThreadState *tstate);