We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6eb4ec8 commit 8dfae59Copy full SHA for 8dfae59
Objects/dictobject.c
@@ -443,7 +443,7 @@ _PyDict_DebugMallocStats(FILE *out)
443
{
444
_PyDebugAllocatorStats(out, "free PyDictObject",
445
_Py_FREELIST_SIZE(dicts),
446
- sizeof(PyDictObject));
+ _PyType_PreHeaderSize(&PyDict_Type) + sizeof(PyDictObject));
447
_PyDebugAllocatorStats(out, "free PyDictKeysObject",
448
_Py_FREELIST_SIZE(dictkeys),
449
sizeof(PyDictKeysObject));
0 commit comments