simplify

Annotated tests/for2.py

278:0eb7bcd2b354
2007-09-04 Paul Boddie Fixed global namespace tracking (and thus base class references).
paulb@135 1
def f(l):
paulb@135 2
    for i in l:
paulb@135 3
        if i == 3:
paulb@135 4
            return 1
paulb@135 5
        elif i == 4:
paulb@135 6
            break
paulb@135 7
    return "1"
paulb@135 8
paulb@135 9
x = f([1, 2, 3, 4, 5])