summaryrefslogtreecommitdiffstats
path: root/Objects/methodobject.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-12-30 21:46:56 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-12-30 21:46:56 (GMT)
commita2678f3eb640faf9e585f80d4f2f740a25a4fc4b (patch)
treeb6a224ffe92ed7e6732ebaf9350101e201c2f97e /Objects/methodobject.c
parent2aa4e6cdec5392c1ef6e9573b66accba5b982b5b (diff)
parent0811f98e103f87b0b268948f56df55852e6fdf29 (diff)
downloadcpython-a2678f3eb640faf9e585f80d4f2f740a25a4fc4b.zip
cpython-a2678f3eb640faf9e585f80d4f2f740a25a4fc4b.tar.gz
cpython-a2678f3eb640faf9e585f80d4f2f740a25a4fc4b.tar.bz2
Fix the advertised size of PyCFunctionObjects in sys._debugmallocstats().
Diffstat (limited to 'Objects/methodobject.c')
-rw-r--r--Objects/methodobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c
index 5b799c9..2d1f730 100644
--- a/Objects/methodobject.c
+++ b/Objects/methodobject.c
@@ -352,6 +352,6 @@ void
_PyCFunction_DebugMallocStats(FILE *out)
{
_PyDebugAllocatorStats(out,
- "free PyCFunction",
- numfree, sizeof(PyCFunction));
+ "free PyCFunctionObjects",
+ numfree, sizeof(PyCFunctionObject));
}