correct the typos (#4950)

parent 9cfc0026
...@@ -1363,7 +1363,7 @@ PyCursesWindow_InsCh(PyCursesWindowObject *self, PyObject *args) ...@@ -1363,7 +1363,7 @@ PyCursesWindow_InsCh(PyCursesWindowObject *self, PyObject *args)
use_xy = TRUE; use_xy = TRUE;
break; break;
default: default:
PyErr_SetString(PyExc_TypeError, "insch requires 1 or 4 arguments"); PyErr_SetString(PyExc_TypeError, "insch requires 1 to 4 arguments");
return NULL; return NULL;
} }
...@@ -1394,7 +1394,7 @@ PyCursesWindow_InCh(PyCursesWindowObject *self, PyObject *args) ...@@ -1394,7 +1394,7 @@ PyCursesWindow_InCh(PyCursesWindowObject *self, PyObject *args)
rtn = mvwinch(self->win,y,x); rtn = mvwinch(self->win,y,x);
break; break;
default: default:
PyErr_SetString(PyExc_TypeError, "inch requires 0 or 2 arguments"); PyErr_SetString(PyExc_TypeError, "inch requires 0 to 2 arguments");
return NULL; return NULL;
} }
return PyLong_FromUnsignedLong(rtn); return PyLong_FromUnsignedLong(rtn);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment