mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-22 17:12:55 +08:00
12 lines
108 B
Python
12 lines
108 B
Python
|
|
||
|
class Tree:
|
||
|
parent = None
|
||
|
child = []
|
||
|
|
||
|
t1 = Tree()
|
||
|
t2 = Tree()
|
||
|
t1.child.append(t2)
|
||
|
del t2
|
||
|
|
||
|
gcdump()
|