Commit 0811f98e authored by Antoine Pitrou's avatar Antoine Pitrou

Fix the advertised size of PyCFunctionObjects in sys._debugmallocstats().

parent 62c75f1e
...@@ -343,8 +343,8 @@ void ...@@ -343,8 +343,8 @@ void
_PyCFunction_DebugMallocStats(FILE *out) _PyCFunction_DebugMallocStats(FILE *out)
{ {
_PyDebugAllocatorStats(out, _PyDebugAllocatorStats(out,
"free PyCFunction", "free PyCFunctionObjects",
numfree, sizeof(PyCFunction)); numfree, sizeof(PyCFunctionObject));
} }
/* PyCFunction_New() is now just a macro that calls PyCFunction_NewEx(), /* PyCFunction_New() is now just a macro that calls PyCFunction_NewEx(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment