pikapython/test/python/gc/gc_tree1.py
pikastech ca65efd1fa fix args_foreach handler
add PikaGC class

add gc.onMarkObj

add GC DUMP

support gcdump()

improve gcdump
2023-03-09 16:52:57 +08:00

12 lines
108 B
Python

class Tree:
parent = None
child = []
t1 = Tree()
t2 = Tree()
t1.child.append(t2)
del t2
gcdump()