diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-12-30 22:46:04 +0100 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-12-30 22:46:04 +0100 |
commit | 0811f98e103f87b0b268948f56df55852e6fdf29 (patch) | |
tree | fec9676e382b51b2a2e0313df38b77950064f5ae /Objects/methodobject.c | |
parent | 62c75f1e527d4f12dc72c3311cdd4ed23a567308 (diff) | |
download | cpython-git-0811f98e103f87b0b268948f56df55852e6fdf29.tar.gz |
Fix the advertised size of PyCFunctionObjects in sys._debugmallocstats().
Diffstat (limited to 'Objects/methodobject.c')
-rw-r--r-- | Objects/methodobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c index 1d143f9131..60df302b0c 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(), |