Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39e44d7 commit 903138fCopy full SHA for 903138f
1 file changed
Objects/object.c
@@ -225,13 +225,15 @@ void PyObject_Dump(PyObject* op)
225
{
226
(void)PyObject_Print(op, stderr, 0);
227
fprintf(stderr, "\nrefcounts: %d\n", op->ob_refcnt);
228
- fprintf(stderr, "address : %x\n", op);
+ fprintf(stderr, "address : %p\n", op);
229
}
230
+
231
+#ifdef WITH_CYCLE_GC
232
void PyGC_Dump(PyGC_Head* op)
233
234
PyObject_Dump(PyObject_FROM_GC(op));
235
-
236
+#endif /* WITH_CYCLE_GC */
237
238
PyObject *
239
PyObject_Repr(PyObject *v)
0 commit comments