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

This commit is contained in:
Antoine Pitrou 2012-12-30 22:46:56 +01:00
commit a2678f3eb6

View file

@ -352,6 +352,6 @@ void
_PyCFunction_DebugMallocStats(FILE *out)
{
_PyDebugAllocatorStats(out,
"free PyCFunction",
numfree, sizeof(PyCFunction));
"free PyCFunctionObjects",
numfree, sizeof(PyCFunctionObject));
}