Summary
Shortlog
Changelog
Graph
Tags
Bookmarks
Branches
Files
Help
Search
simplify
tests/if.py
172:cdf6d3c636eb
29:6c70feca6247
2007-01-08
paulb
raw
annotate
files
changeset
graph
Added an exception to the locally defined function names rule: within a class definition, methods should not be accessible via their plain names alone (ie. like functions).
1
a
=
1
2
b
=
2
3
if
a
:
4
x
=
1
5
elif
b
:
6
x
=
2
7
else
:
8
x
=
3