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

This commit is contained in:
Antoine Pitrou 2012-12-30 22:46:04 +01:00
parent 62c75f1e52
commit 0811f98e10

View File

@ -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(),