summaryrefslogtreecommitdiffstats
path: root/Python/crossinterp.c
diff options
context:
space:
mode:
authorjianghuyiyuan <shuangcui@live.com>2024-08-01 00:26:09 (GMT)
committerGitHub <noreply@github.com>2024-08-01 00:26:09 (GMT)
commit46f5a4f9e1781ad8d60eb53bbaf6cd8534a286cd (patch)
tree8278a9c7c1cc9ba012e5547ddb15849ae8873194 /Python/crossinterp.c
parent06656e259bc9b2c3cf8a23bdc6e4acb052c56e1f (diff)
downloadcpython-46f5a4f9e1781ad8d60eb53bbaf6cd8534a286cd.zip
cpython-46f5a4f9e1781ad8d60eb53bbaf6cd8534a286cd.tar.gz
cpython-46f5a4f9e1781ad8d60eb53bbaf6cd8534a286cd.tar.bz2
Fix typos in docs, error messages and comments (#122502)
Signed-off-by: jianghuyiyuan <shuangcui@live.com>
Diffstat (limited to 'Python/crossinterp.c')
-rw-r--r--Python/crossinterp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/crossinterp.c b/Python/crossinterp.c
index acb372a..0aca322 100644
--- a/Python/crossinterp.c
+++ b/Python/crossinterp.c
@@ -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();
}