]> granicus.if.org Git - python/commitdiff
Fix the advertised size of PyCFunctionObjects in sys._debugmallocstats().
authorAntoine Pitrou <solipsis@pitrou.net>
Sun, 30 Dec 2012 21:46:04 +0000 (22:46 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Sun, 30 Dec 2012 21:46:04 +0000 (22:46 +0100)
Objects/methodobject.c

index 1d143f913194902e3e23e8bd6d723ceae2b7f5d1..60df302b0c37a20a1fa980d9433821d9ea6fb0b7 100644 (file)
@@ -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(),