OILS / opy / demo / class_scope.py View on Github | oilshell.org

7 lines, 5 significant
1
2class Foo(object):
3 a = 1
4 def __init__(self):
5 self.b = 2
6
7foo = Foo()