Fix the advertised size of PyCFunctionObjects in sys._debugmallocstats().
This commit is contained in:
parent
62c75f1e52
commit
0811f98e10
@ -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(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user