Mercurial > cpython-lru_cache-weakref
diff Python/sysmodule.c @ 2421:6eda642f19d0 legacy-trunk
add explicit 0 flags for methodlist
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 21 Feb 1995 21:03:24 +0000 |
| parents | e8cafb2b743a |
| children | ae131b8b4e31 |
line wrap: on
line diff
--- a/Python/sysmodule.c Tue Feb 21 21:02:46 1995 +0000 +++ b/Python/sysmodule.c Tue Feb 21 21:03:24 1995 +0000 @@ -155,13 +155,13 @@ #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 */ };
