]> granicus.if.org Git - python/commitdiff
Correct error message
authorAndrew M. Kuchling <amk@amk.ca>
Wed, 26 Jul 2006 17:18:01 +0000 (17:18 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Wed, 26 Jul 2006 17:18:01 +0000 (17:18 +0000)
Modules/_cursesmodule.c

index 37a6a559e61e3dee4022c36e3d73fadffcdeecf3..ec55c8ed2319ca5c5546baaa2a17db7420b47226 100644 (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)