summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-12-30 21:46:04 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-12-30 21:46:04 (GMT)
commit0811f98e103f87b0b268948f56df55852e6fdf29 (patch)
treefec9676e382b51b2a2e0313df38b77950064f5ae /Objects
parent62c75f1e527d4f12dc72c3311cdd4ed23a567308 (diff)
downloadcpython-0811f98e103f87b0b268948f56df55852e6fdf29.zip
cpython-0811f98e103f87b0b268948f56df55852e6fdf29.tar.gz
cpython-0811f98e103f87b0b268948f56df55852e6fdf29.tar.bz2
Fix the advertised size of PyCFunctionObjects in sys._debugmallocstats().
Diffstat (limited to 'Objects')
-rw-r--r--Objects/methodobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c
index 1d143f9..60df302 100644
--- a/Objects/methodobject.c
+++ b/Objects/methodobject.c
@@ -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(),