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 | 015df829bb549c7051abbcb3a7ad7d9de01e4017 (patch) | |
tree | a2bee810736154808eb788af52e1ed2c338cbd7f /Python/sysmodule.c | |
parent | d85daad86dbeae1c41eba1a36a1dfd784f5b2702 (diff) | |
download | cpython-015df829bb549c7051abbcb3a7ad7d9de01e4017.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 */ }; |