From 9c6a95f1147c59ba93e80cf55ac1682748c518ed Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 29 Feb 2000 13:59:29 +0000 Subject: Massive patch by Skip Montanaro to add ":name" to as many PyArg_ParseTuple() format string arguments as possible. --- Python/sysmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/sysmodule.c') diff --git a/Python/sysmodule.c b/Python/sysmodule.c index a7a59333ee..59a34de05a 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -192,7 +192,7 @@ sys_setcheckinterval(self, args) 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; -- cgit v1.2.1