simplify

Annotated tests/while2.py

279:504dc5d62374
2007-09-06 Paul Boddie Added a fully-qualified name method for WithName-derived classes, producing a more usable global name for applications such as the viewer. Added a method for returning "visible" class attributes to GeneralClass. Added an attribute table production function for integration with the explicit distribution, along with a test program option for generating such a table.
paulb@210 1
def f(x):
paulb@210 2
    while x:
paulb@210 3
        y = 3
paulb@210 4
        x -= 1
paulb@210 5
    return y
paulb@210 6
paulb@210 7
f(1)