summaryrefslogtreecommitdiffstats
path: root/Include/cpython/pyerrors.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-29 03:13:41 (GMT)
committerGitHub <noreply@github.com>2023-08-29 03:13:41 (GMT)
commitc9eefc77a7456c5354beaff9bdba449d3e42be35 (patch)
tree24d3949af294b2fdee0b20101eb26b51f93dfa04 /Include/cpython/pyerrors.h
parent921eb8ebf6ae9bd359bc03c24bf1f7537bb498ab (diff)
downloadcpython-c9eefc77a7456c5354beaff9bdba449d3e42be35.zip
cpython-c9eefc77a7456c5354beaff9bdba449d3e42be35.tar.gz
cpython-c9eefc77a7456c5354beaff9bdba449d3e42be35.tar.bz2
gh-106320: Remove private _PyErr_SetKeyError() (#108607)
Move the private _PyErr_SetKeyError() function to the internal C API (pycore_pyerrors.h).
Diffstat (limited to 'Include/cpython/pyerrors.h')
-rw-r--r--Include/cpython/pyerrors.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/Include/cpython/pyerrors.h b/Include/cpython/pyerrors.h
index 5c12821..cbe3be1 100644
--- a/Include/cpython/pyerrors.h
+++ b/Include/cpython/pyerrors.h
@@ -88,10 +88,6 @@ typedef PyOSErrorObject PyEnvironmentErrorObject;
typedef PyOSErrorObject PyWindowsErrorObject;
#endif
-/* Error handling definitions */
-
-PyAPI_FUNC(void) _PyErr_SetKeyError(PyObject *);
-
/* Context manipulation (PEP 3134) */
Py_DEPRECATED(3.12) PyAPI_FUNC(void) _PyErr_ChainExceptions(PyObject *, PyObject *, PyObject *);