diff options
author | Christian Clauss <cclauss@me.com> | 2021-10-07 08:34:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-07 08:34:42 (GMT) |
commit | dd02a696e55b450413e765e698e653d781ca4205 (patch) | |
tree | 56559f73fe0771d9354abcd0131fa113f5975bc1 /Modules/_testcapimodule.c | |
parent | 5baec4aea6821256f5d1785a6bd596fab069f1b6 (diff) | |
download | cpython-dd02a696e55b450413e765e698e653d781ca4205.zip cpython-dd02a696e55b450413e765e698e653d781ca4205.tar.gz cpython-dd02a696e55b450413e765e698e653d781ca4205.tar.bz2 |
Fix typos in the Modules directory (GH-28761)
Diffstat (limited to 'Modules/_testcapimodule.c')
-rw-r--r-- | Modules/_testcapimodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index 03dc776..4a2907f 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -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; |