mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-129354: Fix grammar in PyErr_FormatUnraisable() (#129475)
Replace "on verb+ing" with "while verb+ing".
This commit is contained in:
parent
3ebe3d7688
commit
95504f429e
25 changed files with 79 additions and 59 deletions
|
@ -1633,7 +1633,7 @@ format_unraisable_v(const char *format, va_list va, PyObject *obj)
|
|||
PyObject *hook_args = make_unraisable_hook_args(
|
||||
tstate, exc_type, exc_value, exc_tb, err_msg, obj);
|
||||
if (hook_args == NULL) {
|
||||
err_msg_str = ("Exception ignored on building "
|
||||
err_msg_str = ("Exception ignored while building "
|
||||
"sys.unraisablehook arguments");
|
||||
goto error;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue