Summary
Shortlog
Changelog
Graph
Tags
Bookmarks
Branches
Files
Help
Search
simplify
tests/nested_classes.py
172:cdf6d3c636eb
169:44c746923bfd
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
def
f
():
2
class
C
:
3
pass
4
return
C
5
6
c
=
f
()