Mercurial > cpython-lru_cache-weakref
diff Python/sysmodule.c @ 11882:dc65c5f6ad7c legacy-trunk
Massive patch by Skip Montanaro to add ":name" to as many
PyArg_ParseTuple() format string arguments as possible.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 29 Feb 2000 13:59:29 +0000 |
| parents | 66216f32403d |
| children | 9b9abde032b3 |
line wrap: on
line diff
--- a/Python/sysmodule.c Tue Feb 29 13:31:16 2000 +0000 +++ b/Python/sysmodule.c Tue Feb 29 13:59:29 2000 +0000 @@ -192,7 +192,7 @@ PyObject *args; { PyThreadState *tstate = PyThreadState_Get(); - if (!PyArg_ParseTuple(args, "i", &tstate->interp->checkinterval)) + if (!PyArg_ParseTuple(args, "i:setcheckinterval", &tstate->interp->checkinterval)) return NULL; Py_INCREF(Py_None); return Py_None;
