]> granicus.if.org Git - python/commitdiff
Fix supernumerary 's' in sys._debugmallocstats() output.
authorAntoine Pitrou <solipsis@pitrou.net>
Thu, 11 Apr 2013 19:02:20 +0000 (21:02 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Thu, 11 Apr 2013 19:02:20 +0000 (21:02 +0200)
1  2 
Objects/methodobject.c

index 2d1f73019bb98b6889fd0c9800db83e00ac0a359,f0685dd606619593de2db8aefa494deb2af538c1..9944fade1089a7e80e7961a2c87fe8878834048b
@@@ -352,6 -343,20 +352,6 @@@ voi
  _PyCFunction_DebugMallocStats(FILE *out)
  {
      _PyDebugAllocatorStats(out,
-                            "free PyCFunctionObjects",
+                            "free PyCFunctionObject",
                             numfree, sizeof(PyCFunctionObject));
  }
 -
 -/* PyCFunction_New() is now just a macro that calls PyCFunction_NewEx(),
 -   but it's part of the API so we need to keep a function around that
 -   existing C extensions can call.
 -*/
 -
 -#undef PyCFunction_New
 -PyAPI_FUNC(PyObject *) PyCFunction_New(PyMethodDef *, PyObject *);
 -
 -PyObject *
 -PyCFunction_New(PyMethodDef *ml, PyObject *self)
 -{
 -    return PyCFunction_NewEx(ml, self, NULL);
 -}