summaryrefslogtreecommitdiffstats
path: root/Include/cpython
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-09-04 23:54:55 (GMT)
committerGitHub <noreply@github.com>2023-09-04 23:54:55 (GMT)
commit676593859e75d4c3543d143092b77f55389006e4 (patch)
tree9b88c52954c170674e1ad0bae3018009489942a4 /Include/cpython
parent6304d983a0656c1841769bf36e5b42819508d21c (diff)
downloadcpython-676593859e75d4c3543d143092b77f55389006e4.zip
cpython-676593859e75d4c3543d143092b77f55389006e4.tar.gz
cpython-676593859e75d4c3543d143092b77f55389006e4.tar.bz2
gh-106320: Remove private _PyErr_WriteUnraisableMsg() (#108863)
Move the private _PyErr_WriteUnraisableMsg() functions to the internal C API (pycore_pyerrors.h). Move write_unraisable_exc() from _testcapi to _testinternalcapi.
Diffstat (limited to 'Include/cpython')
-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 9633a54..da96eec 100644
--- a/Include/cpython/pyerrors.h
+++ b/Include/cpython/pyerrors.h
@@ -116,10 +116,6 @@ PyAPI_FUNC(PyObject *) PyErr_ProgramTextObject(
PyObject *filename,
int lineno);
-PyAPI_FUNC(void) _PyErr_WriteUnraisableMsg(
- const char *err_msg,
- PyObject *obj);
-
PyAPI_FUNC(void) _Py_NO_RETURN _Py_FatalErrorFunc(
const char *func,
const char *message);