summaryrefslogtreecommitdiff
path: root/Lib/test/dtracedata/gc.py
blob: 144a783b7b7ef67a6fa5810283d7596d9e744a44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import gc

def start():
    gc.collect(0)
    gc.collect(1)
    gc.collect(2)
    l = []
    l.append(l)
    del l
    gc.collect(2)

gc.collect()
start()