Skip to content

Commit ed6a6a6

Browse files
committed
Fix the advertised size of PyCFunctionObjects in sys._debugmallocstats().
2 parents 922765d + 213728d commit ed6a6a6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Objects/methodobject.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,6 @@ void
352352
_PyCFunction_DebugMallocStats(FILE *out)
353353
{
354354
_PyDebugAllocatorStats(out,
355-
"free PyCFunction",
356-
numfree, sizeof(PyCFunction));
355+
"free PyCFunctionObjects",
356+
numfree, sizeof(PyCFunctionObject));
357357
}

0 commit comments

Comments
 (0)