From: Andrew M. Kuchling Date: Wed, 26 Jul 2006 17:18:01 +0000 (+0000) Subject: Correct error message X-Git-Tag: v2.5b3~152 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a1da20472ff55572468ced2747300d0310c17117;p=python Correct error message --- diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 37a6a559e6..ec55c8ed23 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -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)