diff options
Diffstat (limited to 'Modules/_cursesmodule.c')
| -rw-r--r-- | Modules/_cursesmodule.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index a89c22b..f8c268e 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -2545,7 +2545,7 @@ PyCurses_tigetflag(PyObject *self, PyObject *args) PyCursesSetupTermCalled; - if (!PyArg_ParseTuple(args, "z", &capname)) + if (!PyArg_ParseTuple(args, "s", &capname)) return NULL; return PyLong_FromLong( (long) tigetflag( capname ) ); @@ -2558,7 +2558,7 @@ PyCurses_tigetnum(PyObject *self, PyObject *args) PyCursesSetupTermCalled; - if (!PyArg_ParseTuple(args, "z", &capname)) + if (!PyArg_ParseTuple(args, "s", &capname)) return NULL; return PyLong_FromLong( (long) tigetnum( capname ) ); @@ -2571,7 +2571,7 @@ PyCurses_tigetstr(PyObject *self, PyObject *args) PyCursesSetupTermCalled; - if (!PyArg_ParseTuple(args, "z", &capname)) + if (!PyArg_ParseTuple(args, "s", &capname)) return NULL; capname = tigetstr( capname ); |
