correct the typos (GH-4950) (#4952)

(cherry picked from commit 83cb778b4a)
This commit is contained in:
Miss Islington (bot) 2017-12-20 21:42:42 -08:00 committed by Andrew Svetlov
parent 2316c68640
commit e8ab7eb5c7
1 changed files with 2 additions and 2 deletions

View File

@ -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);