From 19b851d11b04d1490040ff296ebec57dc3d7eecb Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Wed, 1 Jun 2011 18:21:42 -0700 Subject: sys.checkinterval() now refreshes the current countdown ticker. --- Python/sysmodule.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Python/sysmodule.c') diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 00b3aa4fc9..692805bff3 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -466,6 +466,7 @@ sys_setcheckinterval(PyObject *self, PyObject *args) { if (!PyArg_ParseTuple(args, "i:setcheckinterval", &_Py_CheckInterval)) return NULL; + _Py_Ticker = _Py_CheckInterval; Py_INCREF(Py_None); return Py_None; } -- cgit v1.2.1