1
0
forked from VimPlug/jedi

Goto on a function/attribute in a class now goes to the definition in its super class, fixes #1175

This commit is contained in:
Dave Halter
2019-12-24 12:49:23 +01:00
parent a21f443756
commit 9578e4252b
3 changed files with 45 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
class Super(object):
attribute = 3
def func(self):
return 1
class Inner():
pass
class Sub(Super):
#? 13 Sub.attribute
def attribute(self):
pass
#! 8 ['attribute = 3']
def attribute(self):
pass
#! 4 ['def func']
func = 3
#! 12 ['def func']
class func(): ...
#! 8 ['class Inner']
def Inner(self): ...