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


def test(num):
    for i in range(num // 40):

        class X:
            def x(self):
                pass


bench.run(test)