diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2017-12-20 21:42:42 -0800 |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2017-12-21 07:42:42 +0200 |
commit | e8ab7eb5c7a28cb6398d8fdaf24959af527a9ba4 (patch) | |
tree | cd171f82c639e682b08e39ad23cb2d4319b8d929 /Modules/_cursesmodule.c | |
parent | 2316c686400841fe1131583820d5b14417a0e089 (diff) | |
download | cpython-git-e8ab7eb5c7a28cb6398d8fdaf24959af527a9ba4.tar.gz |
correct the typos (GH-4950) (#4952)
(cherry picked from commit 83cb778b4a3f856f2243b0f0d36fefb5c44b388f)
Diffstat (limited to 'Modules/_cursesmodule.c')
-rw-r--r-- | Modules/_cursesmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 6f21dd8ba4..935712a0be 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -1049,7 +1049,7 @@ PyCursesWindow_InsCh(PyCursesWindowObject *self, PyObject *args) use_xy = TRUE; break; default: - PyErr_SetString(PyExc_TypeError, "insch requires 1 or 4 arguments"); + PyErr_SetString(PyExc_TypeError, "insch requires 1 to 4 arguments"); return NULL; } @@ -1082,7 +1082,7 @@ PyCursesWindow_InCh(PyCursesWindowObject *self, PyObject *args) rtn = mvwinch(self->win,y,x); break; default: - PyErr_SetString(PyExc_TypeError, "inch requires 0 or 2 arguments"); + PyErr_SetString(PyExc_TypeError, "inch requires 0 to 2 arguments"); return NULL; } return PyInt_FromLong((long) rtn); |