1
0
forked from VimPlug/jedi

using super() in actual executed classes wasn't possible. fixes #421

This commit is contained in:
Dave Halter
2014-07-30 11:27:27 +02:00
parent 53671bca84
commit 3c92d175da
3 changed files with 16 additions and 5 deletions

View File

@@ -398,6 +398,8 @@ PrivateVar().__var
# -----------------
class Super(object):
a = 3
def return_sup(self):
return 1
class TestSuper(Super):
#?
@@ -414,6 +416,13 @@ class TestSuper(Super):
#?
super()
def return_sup(self):
#? int()
return super().return_sup()
#? int()
TestSuper().return_sup()
# -----------------
# if flow at class level