summaryrefslogtreecommitdiff
path: root/tests/internal_bench/class_create-7-inherit.py
blob: f48fb215e0ab80e3a0b99df2867341a716b33b07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import bench


def test(num):
    class B:
        pass

    for i in range(num // 40):

        class X(B):
            pass


bench.run(test)