def method(): pass if True: class C: pass method()