summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-01-12 01:15:01 (GMT)
committerGuido van Rossum <guido@python.org>1996-01-12 01:15:01 (GMT)
commitb0352fa3fccf9e8c76bc52aa93333bbecaf04948 (patch)
tree3227c2f516572fbb8e2e5fa6a47df16bf63e9132
parentbeeda8a7ba6dcd01d9a70fcad4ca8d2ae7104bdc (diff)
downloadcpython-b0352fa3fccf9e8c76bc52aa93333bbecaf04948.zip
cpython-b0352fa3fccf9e8c76bc52aa93333bbecaf04948.tar.gz
cpython-b0352fa3fccf9e8c76bc52aa93333bbecaf04948.tar.bz2
fix args options for setcheckinterval
-rw-r--r--Python/sysmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 5fc098d..d59a04f 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -195,7 +195,7 @@ static struct methodlist sys_methods[] = {
#endif
{"setprofile", sys_setprofile, 0},
{"settrace", sys_settrace, 0},
- {"setcheckinterval", sys_setcheckinterval, 0},
+ {"setcheckinterval", sys_setcheckinterval, 1},
{NULL, NULL} /* sentinel */
};