diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-12-30 21:46:04 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-12-30 21:46:04 (GMT) |
commit | 0811f98e103f87b0b268948f56df55852e6fdf29 (patch) | |
tree | fec9676e382b51b2a2e0313df38b77950064f5ae /Objects | |
parent | 62c75f1e527d4f12dc72c3311cdd4ed23a567308 (diff) | |
download | cpython-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.c | 4 |
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(), |