mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
PyObject_Dump() -> _PyObject_Dump()
PyGC_Dump() -> _PyGC_Dump()
This commit is contained in:
parent
430d773f55
commit
bbd89b66b1
2 changed files with 5 additions and 5 deletions
|
@ -221,7 +221,7 @@ PyObject_Print(PyObject *op, FILE *fp, int flags)
|
|||
}
|
||||
|
||||
/* 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 @@ void PyObject_Dump(PyObject* op)
|
|||
}
|
||||
|
||||
#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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue