mirror of
https://github.com/micropython/micropython.git
synced 2026-05-01 21:30:14 +02:00
c3e77ad6db
Signed-off-by: Anson Mansfield <amansfield@mantaro.com>
18 lines
214 B
Python
18 lines
214 B
Python
import bench
|
|
|
|
|
|
class D:
|
|
def __get__(self, instance, owner=None):
|
|
pass
|
|
|
|
|
|
def test(num):
|
|
descriptor = D()
|
|
for i in range(num // 40):
|
|
|
|
class X:
|
|
x = descriptor
|
|
|
|
|
|
bench.run(test)
|