import dis

def f(x):
    class Foo:
        print(x)

f('hello')