From: Guido van Rossum Date: Tue, 21 Feb 1995 21:03:24 +0000 (+0000) Subject: add explicit 0 flags for methodlist X-Git-Tag: v1.2b4~174 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4f508cc80668dfbe75d407f867806a9bb778f919;p=thirdparty%2FPython%2Fcpython.git add explicit 0 flags for methodlist --- diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 5d7955bf3bf8..601a090e4d09 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 */ };