mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
add explicit 0 flags for methodlist
This commit is contained in:
parent
3097c3a87e
commit
4f508cc806
1 changed files with 5 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue