[Python-checkins] python/dist/src/Modules posixmodule.c, 2.324,
2.325
tim_one at users.sourceforge.net
tim_one at users.sourceforge.net
Mon Aug 30 19:10:58 CEST 2004
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,
More information about the Python-checkins
mailing list