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)
|
_PyCFunction_DebugMallocStats(FILE *out)
|
||||||
{
|
{
|
||||||
_PyDebugAllocatorStats(out,
|
_PyDebugAllocatorStats(out,
|
||||||
"free PyCFunction",
|
"free PyCFunctionObjects",
|
||||||
numfree, sizeof(PyCFunction));
|
numfree, sizeof(PyCFunctionObject));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* PyCFunction_New() is now just a macro that calls PyCFunction_NewEx(),
|
/* PyCFunction_New() is now just a macro that calls PyCFunction_NewEx(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user