diff options
author | Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <srinivasreddy@users.noreply.github.com> | 2017-12-20 21:36:10 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2017-12-20 21:36:10 (GMT) |
commit | 83cb778b4a3f856f2243b0f0d36fefb5c44b388f (patch) | |
tree | 0d589a226690e5de50559b0d88dfbf2561dea3d6 /Modules | |
parent | 9cfc00262c7f6b93072762eed1dc5d94fa3897f0 (diff) | |
download | cpython-83cb778b4a3f856f2243b0f0d36fefb5c44b388f.zip cpython-83cb778b4a3f856f2243b0f0d36fefb5c44b388f.tar.gz cpython-83cb778b4a3f856f2243b0f0d36fefb5c44b388f.tar.bz2 |
correct the typos (#4950)
Diffstat (limited to 'Modules')
-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 42f4a85..7936aef 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -1363,7 +1363,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; } @@ -1394,7 +1394,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 PyLong_FromUnsignedLong(rtn); |