summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2017-12-21 05:43:11 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2017-12-21 05:43:11 (GMT)
commit020668b8e15c472e51110e20bb3df0672437db1e (patch)
tree38b9a0936630ddd2859de8f2e24e7bd476c1fe77 /Modules
parent4aa84e728565a15a82727b9b971126e355f47e9d (diff)
downloadcpython-020668b8e15c472e51110e20bb3df0672437db1e.zip
cpython-020668b8e15c472e51110e20bb3df0672437db1e.tar.gz
cpython-020668b8e15c472e51110e20bb3df0672437db1e.tar.bz2
correct the typos (GH-4950) (#4951)
(cherry picked from commit 83cb778b4a3f856f2243b0f0d36fefb5c44b388f)
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 9a691db..4ac702a 100644
--- a/Modules/_cursesmodule.c
+++ b/Modules/_cursesmodule.c
@@ -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);