mirror of https://github.com/python/cpython
Correct error message
This commit is contained in:
parent
55b0a0eb0d
commit
a1da20472f
|
@ -841,7 +841,7 @@ PyCursesWindow_GetStr(PyCursesWindowObject *self, PyObject *args)
|
|||
#endif
|
||||
break;
|
||||
default:
|
||||
PyErr_SetString(PyExc_TypeError, "getstr requires 0 to 2 arguments");
|
||||
PyErr_SetString(PyExc_TypeError, "getstr requires 0 to 3 arguments");
|
||||
return NULL;
|
||||
}
|
||||
if (rtn2 == ERR)
|
||||
|
|
Loading…
Reference in New Issue