Correct error message

This commit is contained in:
Andrew M. Kuchling 2006-07-26 17:18:01 +00:00
parent 55b0a0eb0d
commit a1da20472f
1 changed files with 1 additions and 1 deletions

View File

@ -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)