@slide(executable=True)
def flow_control_2():
    """ Weird try/except/else/finally flow considerations
    """

    try:
        a = 0
    except __HOLE__:
        print("The exception won't be raised")
    else:
        print("We'll run the code in else if the exception is not raised")
        return 1
    finally:
        print("and we'll always run finally even avoiding return calls")
        print
        return 2
dataset/ETHPy150Open jsoucheiron/pttdm/pttdm.py/flow_control_2