mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 09:50:15 +01:00
18 lines
210 B
Python
18 lines
210 B
Python
import bench
|
|
|
|
|
|
class D:
|
|
def __set_name__(self, owner, name):
|
|
pass
|
|
|
|
|
|
def test(num):
|
|
descriptor = D()
|
|
for i in range(num // 40):
|
|
|
|
class X:
|
|
x = descriptor
|
|
|
|
|
|
bench.run(test)
|