mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
Correct error message
This commit is contained in:
parent
55b0a0eb0d
commit
a1da20472f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue