From 50584b4c781653ee4c034a2836a1d8a6b26048df Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Tue, 30 Jul 2002 01:23:07 +0000 Subject: [PATCH] Use PyArg_ParseTuple() instead of PyArg_Parse() which is deprecated --- Modules/posixmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0