commit | 19b851d11b04d1490040ff296ebec57dc3d7eecb | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Wed Jun 01 18:21:42 2011 -0700 |
committer | Raymond Hettinger <python@rcn.com> | Wed Jun 01 18:21:42 2011 -0700 |
tree | f37e6a36476ef7423c015a8718eaed16c3f0dea8 | |
parent | 88fc66179b1d05f95cb7ac58f4bceef366d0ff11 [diff] [blame] |
sys.checkinterval() now refreshes the current countdown ticker.
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 00b3aa4..692805b 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c
@@ -466,6 +466,7 @@ { if (!PyArg_ParseTuple(args, "i:setcheckinterval", &_Py_CheckInterval)) return NULL; + _Py_Ticker = _Py_CheckInterval; Py_INCREF(Py_None); return Py_None; }