mirror of
https://github.com/python/cpython.git
synced 2025-11-12 07:02:33 +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
|
#endif
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
PyErr_SetString(PyExc_TypeError, "getstr requires 0 to 2 arguments");
|
PyErr_SetString(PyExc_TypeError, "getstr requires 0 to 3 arguments");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (rtn2 == ERR)
|
if (rtn2 == ERR)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue