Summary
Shortlog
Changelog
Graph
Tags
Bookmarks
Branches
Files
Help
Search
simplify
tests/attr.py
175:6baf47498438
172:cdf6d3c636eb
122:30b827a8c13f
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
class
A
:
2
pass
3
class
B
:
4
pass
5
6
x
=
1
7
if
x
:
8
a
=
A
()
9
a
.
x
=
2
10
else
:
11
a
=
B
()
12
a
.
x