diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-07-30 01:23:07 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-07-30 01:23:07 (GMT) |
commit | 50584b4c781653ee4c034a2836a1d8a6b26048df (patch) | |
tree | 32f7eed78e65db7e91a23481027a05127d5cc3e8 /Modules | |
parent | 50d5d4fe31d7f75021b8798d6b0c95362a10f4dd (diff) | |
download | cpython-50584b4c781653ee4c034a2836a1d8a6b26048df.zip cpython-50584b4c781653ee4c034a2836a1d8a6b26048df.tar.gz cpython-50584b4c781653ee4c034a2836a1d8a6b26048df.tar.bz2 |
Use PyArg_ParseTuple() instead of PyArg_Parse() which is deprecated
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 2 |
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; |