>>> def f(): ... try: ... return 1 ... break ... return 2 ... except: ... return 3 >>> print f()