From: Neal Norwitz Date: Tue, 30 Jul 2002 01:23:07 +0000 (+0000) Subject: Use PyArg_ParseTuple() instead of PyArg_Parse() which is deprecated X-Git-Tag: v2.3c1~4828 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=50584b4c781653ee4c034a2836a1d8a6b26048df;p=python Use PyArg_ParseTuple() instead of PyArg_Parse() which is deprecated --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 6f18da874e..c44ce9195a 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;