Skip to content

Commit 07f5e33

Browse files
authored
Fix a typo in _localemodule.c (GH-130085)
1 parent 451f291 commit 07f5e33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_localemodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ change_locale(int category, char **oldloc)
605605
/* Keep a copy of the LC_CTYPE locale */
606606
*oldloc = setlocale(LC_CTYPE, NULL);
607607
if (!*oldloc) {
608-
PyErr_SetString(PyExc_RuntimeError, "faild to get LC_CTYPE locale");
608+
PyErr_SetString(PyExc_RuntimeError, "failed to get LC_CTYPE locale");
609609
return -1;
610610
}
611611
*oldloc = _PyMem_Strdup(*oldloc);

0 commit comments

Comments
 (0)