for i in range(10): break else: break i = 0 while i < 10: i += 1 break def f(): for i in range(10): break break class Foo: break break