mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
17 lines
205 B
Python
17 lines
205 B
Python
import bench
|
|
|
|
|
|
def test(num):
|
|
class B:
|
|
@classmethod
|
|
def __init_subclass__(cls):
|
|
pass
|
|
|
|
for i in range(num // 40):
|
|
|
|
class X(B):
|
|
pass
|
|
|
|
|
|
bench.run(test)
|