summaryrefslogtreecommitdiff
path: root/Modules/_cursesmodule.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2017-12-20 21:42:42 -0800
committerAndrew Svetlov <andrew.svetlov@gmail.com>2017-12-21 07:42:42 +0200
commite8ab7eb5c7a28cb6398d8fdaf24959af527a9ba4 (patch)
treecd171f82c639e682b08e39ad23cb2d4319b8d929 /Modules/_cursesmodule.c
parent2316c686400841fe1131583820d5b14417a0e089 (diff)
downloadcpython-git-e8ab7eb5c7a28cb6398d8fdaf24959af527a9ba4.tar.gz
correct the typos (GH-4950) (#4952)
(cherry picked from commit 83cb778b4a3f856f2243b0f0d36fefb5c44b388f)
Diffstat (limited to 'Modules/_cursesmodule.c')
-rw-r--r--Modules/_cursesmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c
index 6f21dd8ba4..935712a0be 100644
--- a/Modules/_cursesmodule.c
+++ b/Modules/_cursesmodule.c
@@ -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);