Mercurial > cpython-lru_cache-weakref
diff Objects/object.c @ 16197:1bb7651683e7 legacy-trunk
PyObject_Dump() -> _PyObject_Dump()
PyGC_Dump() -> _PyGC_Dump()
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Wed, 24 Jan 2001 04:18:13 +0000 |
| parents | 71ceaba3f615 |
| children | e5d59a9dbfc0 |
line wrap: on
line diff
--- a/Objects/object.c Wed Jan 24 04:17:26 2001 +0000 +++ b/Objects/object.c Wed Jan 24 04:18:13 2001 +0000 @@ -221,7 +221,7 @@ } /* For debugging convenience. See Misc/gdbinit for some useful gdb hooks */ -void PyObject_Dump(PyObject* op) +void _PyObject_Dump(PyObject* op) { (void)PyObject_Print(op, stderr, 0); fprintf(stderr, "\nrefcounts: %d\n", op->ob_refcnt); @@ -229,9 +229,9 @@ } #ifdef WITH_CYCLE_GC -void PyGC_Dump(PyGC_Head* op) +void _PyGC_Dump(PyGC_Head* op) { - PyObject_Dump(PyObject_FROM_GC(op)); + _PyObject_Dump(PyObject_FROM_GC(op)); } #endif /* WITH_CYCLE_GC */
