summaryrefslogtreecommitdiff
path: root/tests/internal_bench/class_instance-4.1-slots5.py
blob: 8f5c2ecb456d8dcacb4cc5162bf45c6d4a4fcbec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import bench


class X:
    __slots__ = ["a", "b", "c", "d", "x"]


def test(num):
    for i in range(num // 5):
        x = X()


bench.run(test)