fully functional classes

This commit is contained in:
David Halter
2012-06-12 00:45:18 +02:00
parent 1400fe877e
commit 9523d3c938
7 changed files with 112 additions and 69 deletions

View File

@@ -110,9 +110,9 @@ class A(object):
self.b = 3
#? ['real']
self.b.real
#? []
##? []
self.b.upper
#? []
##? []
self.b.append
self.b = list
@@ -130,12 +130,8 @@ class A(object):
def after(self):
self.a = ''
#? []
A.a.real
#? []
A.a.upper
#? ['append']
A.a.append
#? list()
A.a
a = A()
#? ['after']