Kaydet (Commit) 020668b8 authored tarafından Miss Islington (bot)'s avatar Miss Islington (bot) Kaydeden (comit) Andrew Svetlov

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

(cherry picked from commit 83cb778b)
üst 4aa84e72
......@@ -1365,7 +1365,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;
}
......@@ -1396,7 +1396,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);
......
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