support for super()

This commit is contained in:
David Halter committed 2012-12-24 12:27:43 +01:00
1 parent 6ec41909fe
commit 40898450af
3 files changed
+37 -8

No files matched your search

+21
View File
@@ -523,3 +523,24 @@ class PrivateVar():
PrivateVar().__var
#?
PrivateVar().__var
# -----------------
# super
# -----------------
class Super(object):
a = 3
class TestSuper(Super):
#?
super()
def test(self):
#? Super()
super()
#? ['a']
super().a
if 1:
#? Super()
super()
def a():
#?
super()