From: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) Date: Wed, 20 Dec 2017 21:36:10 +0000 (+0530) Subject: correct the typos (#4950) X-Git-Tag: v3.7.0a4~79 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=83cb778b4a3f856f2243b0f0d36fefb5c44b388f;p=thirdparty%2FPython%2Fcpython.git correct the typos (#4950) --- diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 42f4a85e356c..7936aef0cc90 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);