summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_cursesmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c
index 42f4a85..7936aef 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);