diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 477a1355e6f..3eb1ee8cbcb 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -7244,7 +7244,7 @@ win32_urandom(PyObject *self, PyObject *args) 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,