summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-11-03 07:45:53 (GMT)
committerGitHub <noreply@github.com>2023-11-03 07:45:53 (GMT)
commit26c0e5e03a8603eccfd98045bc69fde2e24682e3 (patch)
tree01d7dc811329b0387323350fa881a3301affe461 /Python
parent0d3df272fbd131bff7f02d4d4279ad1e35081121 (diff)
downloadcpython-26c0e5e03a8603eccfd98045bc69fde2e24682e3.zip
cpython-26c0e5e03a8603eccfd98045bc69fde2e24682e3.tar.gz
cpython-26c0e5e03a8603eccfd98045bc69fde2e24682e3.tar.bz2
gh-108082: Remove _PyErr_WriteUnraisableMsg() (GH-111643)
Replace the remaining calls with PyErr_FormatUnraisable().
Diffstat (limited to 'Python')
-rw-r--r--Python/errors.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/Python/errors.c b/Python/errors.c
index 30be7fa..c55ebfd 100644
--- a/Python/errors.c
+++ b/Python/errors.c
@@ -1699,17 +1699,6 @@ format_unraisable(PyObject *obj, const char *format, ...)
}
void
-_PyErr_WriteUnraisableMsg(const char *err_msg_str, PyObject *obj)
-{
- if (err_msg_str) {
- format_unraisable(obj, "Exception ignored %s", err_msg_str);
- }
- else {
- format_unraisable(obj, NULL);
- }
-}
-
-void
PyErr_WriteUnraisable(PyObject *obj)
{
format_unraisable(obj, NULL);