mirror of https://github.com/python/cpython
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…
Reference in New Issue