Fix typos in docs, error messages and comments (#122502)

Signed-off-by: jianghuyiyuan <shuangcui@live.com>
This commit is contained in:
jianghuyiyuan 2024-08-01 09:26:09 +09:00 committed by GitHub
parent 06656e259b
commit 46f5a4f9e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

View file

@ -699,7 +699,7 @@ _PyXI_excinfo_InitFromException(_PyXI_excinfo *info, PyObject *exc)
Py_DECREF(tbexc);
if (info->errdisplay == NULL) {
#ifdef Py_DEBUG
PyErr_FormatUnraisable("Exception ignored while formating TracebackException");
PyErr_FormatUnraisable("Exception ignored while formatting TracebackException");
#endif
PyErr_Clear();
}