From 83cb778b4a3f856f2243b0f0d36fefb5c44b388f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Srinivas=20Reddy=20Thatiparthy=20=28=E0=B0=B6=E0=B1=8D?= =?UTF-8?q?=E0=B0=B0=E0=B1=80=E0=B0=A8=E0=B0=BF=E0=B0=B5=E0=B0=BE=E0=B0=B8?= =?UTF-8?q?=E0=B1=8D=20=E0=B0=B0=E0=B1=86=E0=B0=A1=E0=B1=8D=E0=B0=A1?= =?UTF-8?q?=E0=B0=BF=20=E0=B0=A4=E0=B0=BE=E0=B0=9F=E0=B0=BF=E0=B0=AA?= =?UTF-8?q?=E0=B0=B0=E0=B1=8D=E0=B0=A4=E0=B0=BF=29?= Date: Thu, 21 Dec 2017 03:06:10 +0530 Subject: [PATCH] correct the typos (#4950) --- Modules/_cursesmodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 42f4a85e356..7936aef0cc9 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);