mirror of https://github.com/python/cpython
add explicit 0 flags for methodlist
This commit is contained in:
parent
3097c3a87e
commit
4f508cc806
|
@ -155,13 +155,13 @@ sys_mdebug(self, args)
|
||||||
#endif /* USE_MALLOPT */
|
#endif /* USE_MALLOPT */
|
||||||
|
|
||||||
static struct methodlist sys_methods[] = {
|
static struct methodlist sys_methods[] = {
|
||||||
{"exit", sys_exit},
|
{"exit", sys_exit, 0},
|
||||||
#ifdef USE_MALLOPT
|
#ifdef USE_MALLOPT
|
||||||
{"mdebug", sys_mdebug},
|
{"mdebug", sys_mdebug, 0},
|
||||||
#endif
|
#endif
|
||||||
{"setprofile", sys_setprofile},
|
{"setprofile", sys_setprofile, 0},
|
||||||
{"settrace", sys_settrace},
|
{"settrace", sys_settrace, 0},
|
||||||
{"setcheckinterval", sys_setcheckinterval},
|
{"setcheckinterval", sys_setcheckinterval, 0},
|
||||||
{NULL, NULL} /* sentinel */
|
{NULL, NULL} /* sentinel */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue