summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 6f18da8..c44ce91 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -1419,7 +1419,7 @@ posix_utime(PyObject *self, PyObject *args)
res = utime(path, NULL);
Py_END_ALLOW_THREADS
}
- else if (!PyArg_Parse(arg, "(ll)", &atime, &mtime)) {
+ else if (!PyArg_ParseTuple(arg, "ll", &atime, &mtime)) {
PyErr_SetString(PyExc_TypeError,
"utime() arg 2 must be a tuple (atime, mtime)");
return NULL;