diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-12-30 21:46:56 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-12-30 21:46:56 (GMT) |
commit | a2678f3eb640faf9e585f80d4f2f740a25a4fc4b (patch) | |
tree | b6a224ffe92ed7e6732ebaf9350101e201c2f97e /Objects/methodobject.c | |
parent | 2aa4e6cdec5392c1ef6e9573b66accba5b982b5b (diff) | |
parent | 0811f98e103f87b0b268948f56df55852e6fdf29 (diff) | |
download | cpython-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.c | 4 |
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)); } |