micropython

Annotated tests/cond_if_else.py

635:74ad0468297b
2013-01-15 Paul Boddie Added support for multiple class definitions in the same namespace with the same name. Made classes attribute users.
paul@239 1
#!/usr/bin/env python
paul@239 2
paul@239 3
a = 0
paul@239 4
paul@239 5
if a:
paul@239 6
    b = 1
paul@239 7
else:
paul@239 8
    b = 2
paul@239 9
paul@239 10
result_2 = b
paul@239 11
paul@239 12
# vim: tabstop=4 expandtab shiftwidth=4