[Python-checkins] r50846 - python/trunk/Modules/_cursesmodule.c

andrew.kuchling python-checkins at python.org
Wed Jul 26 19:18:01 CEST 2006


Author: andrew.kuchling
Date: Wed Jul 26 19:18:01 2006
New Revision: 50846

Modified:
   python/trunk/Modules/_cursesmodule.c
Log:
Correct error message

Modified: python/trunk/Modules/_cursesmodule.c
==============================================================================
--- python/trunk/Modules/_cursesmodule.c	(original)
+++ python/trunk/Modules/_cursesmodule.c	Wed Jul 26 19:18:01 2006
@@ -841,7 +841,7 @@
 #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)


More information about the Python-checkins mailing list