func1() # error: "func1" not yet assigned def func1(): print func2() # okay: "func2" looked up later func1() # error: "func2" not yet assihned def func2(): return "Hello" func1() # okay: "func1" and "func2" assigned