Browse Source

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

pull/224/head
Antoine Pitrou 13 years ago
parent
commit
a2678f3eb6
  1. 4
      Objects/methodobject.c

4
Objects/methodobject.c

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