diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-12-19 17:16:42 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-12-19 17:16:42 +0100 |
commit | ed0b87d73c59f0cd1b02cdf5404898f9ca03cdfc (patch) | |
tree | 7f73b945bf325ea6ee5f4217594e5fb9c2b25846 /Python/sysmodule.c | |
parent | 36e96b87165c4050eea5aa70d9538d237c874b33 (diff) | |
download | cpython-git-ed0b87d73c59f0cd1b02cdf5404898f9ca03cdfc.tar.gz |
Fix the C definition of the sys._debugmallocstats() function: the function has
no parameter
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index d238561ecd..cf580f1040 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -1186,7 +1186,7 @@ static PyMethodDef sys_methods[] = { {"settrace", sys_settrace, METH_O, settrace_doc}, {"gettrace", sys_gettrace, METH_NOARGS, gettrace_doc}, {"call_tracing", sys_call_tracing, METH_VARARGS, call_tracing_doc}, - {"_debugmallocstats", sys_debugmallocstats, METH_VARARGS, + {"_debugmallocstats", sys_debugmallocstats, METH_NOARGS, debugmallocstats_doc}, {NULL, NULL} /* sentinel */ }; |