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
1 changed files with 2 additions and 2 deletions

View File

@ -343,8 +343,8 @@ void
_PyCFunction_DebugMallocStats(FILE *out)
{
_PyDebugAllocatorStats(out,
"free PyCFunction",
numfree, sizeof(PyCFunction));
"free PyCFunctionObjects",
numfree, sizeof(PyCFunctionObject));
}
/* PyCFunction_New() is now just a macro that calls PyCFunction_NewEx(),