Mercurial > cpython-lru_cache-weakref
diff Objects/methodobject.c @ 81159:9e6ead98762e 3.3
Fix the advertised size of PyCFunctionObjects in sys._debugmallocstats().
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Sun, 30 Dec 2012 22:46:04 +0100 |
| parents | d63a80abfbec |
| children | bc514cc5d65b e61381137b4a |
line wrap: on
line diff
--- a/Objects/methodobject.c Sun Dec 30 20:17:28 2012 +0200 +++ b/Objects/methodobject.c Sun Dec 30 22:46:04 2012 +0100 @@ -343,8 +343,8 @@ _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(),
