summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-02-21 21:03:24 (GMT)
committerGuido van Rossum <guido@python.org>1995-02-21 21:03:24 (GMT)
commit4f508cc80668dfbe75d407f867806a9bb778f919 (patch)
treee61ff7009f2bfeecdf33c78458af7c8e73222587 /Python
parent3097c3a87e10158d2df5234457e3d07612d13afc (diff)
downloadcpython-4f508cc80668dfbe75d407f867806a9bb778f919.zip
cpython-4f508cc80668dfbe75d407f867806a9bb778f919.tar.gz
cpython-4f508cc80668dfbe75d407f867806a9bb778f919.tar.bz2
add explicit 0 flags for methodlist
Diffstat (limited to 'Python')
-rw-r--r--Python/sysmodule.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 5d7955b..601a090 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -155,13 +155,13 @@ sys_mdebug(self, args)
#endif /* USE_MALLOPT */
static struct methodlist sys_methods[] = {
- {"exit", sys_exit},
+ {"exit", sys_exit, 0},
#ifdef USE_MALLOPT
- {"mdebug", sys_mdebug},
+ {"mdebug", sys_mdebug, 0},
#endif
- {"setprofile", sys_setprofile},
- {"settrace", sys_settrace},
- {"setcheckinterval", sys_setcheckinterval},
+ {"setprofile", sys_setprofile, 0},
+ {"settrace", sys_settrace, 0},
+ {"setcheckinterval", sys_setcheckinterval, 0},
{NULL, NULL} /* sentinel */
};