diff options
Diffstat (limited to 'Include/py_curses.h')
-rw-r--r-- | Include/py_curses.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/py_curses.h b/Include/py_curses.h index c6cbdbd..b4ad8f7 100644 --- a/Include/py_curses.h +++ b/Include/py_curses.h @@ -146,7 +146,7 @@ static PyObject *PyCurses_ ## X (PyObject *self) \ static PyObject *PyCurses_ ## X (PyObject *self) \ { \ PyCursesInitialised \ - return PyString_FromString(X()); } + return PyBytes_FromString(X()); } #define NoArgTrueFalseFunction(X) \ static PyObject *PyCurses_ ## X (PyObject *self) \ |