Fix typos in the Modules directory (GH-28761)

This commit is contained in:
Christian Clauss 2021-10-07 10:34:42 +02:00 committed by GitHub
parent 5baec4aea6
commit dd02a696e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 21 additions and 21 deletions

View file

@ -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;