mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
Fix typos in the Modules directory (GH-28761)
This commit is contained in:
parent
5baec4aea6
commit
dd02a696e5
19 changed files with 21 additions and 21 deletions
|
|
@ -5323,7 +5323,7 @@ encode_locale_ex(PyObject *self, PyObject *args)
|
|||
PyErr_SetString(PyExc_ValueError, "unsupported error handler");
|
||||
break;
|
||||
default:
|
||||
PyErr_SetString(PyExc_ValueError, "unknow error code");
|
||||
PyErr_SetString(PyExc_ValueError, "unknown error code");
|
||||
break;
|
||||
}
|
||||
return res;
|
||||
|
|
@ -5366,7 +5366,7 @@ decode_locale_ex(PyObject *self, PyObject *args)
|
|||
PyErr_SetString(PyExc_ValueError, "unsupported error handler");
|
||||
break;
|
||||
default:
|
||||
PyErr_SetString(PyExc_ValueError, "unknow error code");
|
||||
PyErr_SetString(PyExc_ValueError, "unknown error code");
|
||||
break;
|
||||
}
|
||||
return res;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue