python/dist/src/Modules posixmodule.c, 2.324, 2.325
Update of /cvsroot/python/python/dist/src/Modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8273/Modules Modified Files: posixmodule.c Log Message: win32_urandom(): pass the function name to PyArg_ParseTuple, for better error msgs. Index: posixmodule.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v retrieving revision 2.324 retrieving revision 2.325 diff -u -d -r2.324 -r2.325 --- posixmodule.c 30 Aug 2004 17:08:02 -0000 2.324 +++ posixmodule.c 30 Aug 2004 17:10:53 -0000 2.325 @@ -7244,7 +7244,7 @@ PyObject* returnVal = NULL; /* Read arguments */ - if (! PyArg_ParseTuple(args, "i", &howMany)) + if (! PyArg_ParseTuple(args, "i:urandom", &howMany)) return NULL; if (howMany < 0) return PyErr_Format(PyExc_ValueError,
participants (1)
-
tim_oneļ¼ users.sourceforge.net