From 4f508cc80668dfbe75d407f867806a9bb778f919 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 21 Feb 1995 21:03:24 +0000 Subject: add explicit 0 flags for methodlist --- Python/sysmodule.c | 10 +++++----- 1 file 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 */ }; -- cgit v0.12