Source code for scratch_6

# god this is so stupid

import sys


[docs]class Foo: def __init__(self): print("Hello")
[docs] @classmethod def method(cls): print("Hi")
[docs]def call(func): func()
stmt = call(getattr(getattr(sys.modules[__name__], "Foo"), "method")) from timeit import timeit print(timeit(lambda: stmt))