forked from VimPlug/jedi
54a6dadde3
* properties with setters are now reported as 'property' for completion * code cleanups * fixed test * fixed tests * Revert "fixed test" This reverts commit a80c955a489bce4a649452f7db49e59eab3ba38c. * code quality cleanup * so picky * Revert "Revert "fixed test"" This reverts commit 58dfc5292e9df5415a212f6bf28356e76d515157. * updated test per maintainer comments #1983 * removed extra char
54 lines
614 B
Python
54 lines
614 B
Python
class Base():
|
|
myfoobar = 3
|
|
|
|
|
|
class X(Base):
|
|
def func(self, foo):
|
|
pass
|
|
|
|
|
|
class Y(X):
|
|
def actual_function(self):
|
|
pass
|
|
|
|
#? []
|
|
def actual_function
|
|
#? ['func']
|
|
def f
|
|
|
|
#? ['__doc__']
|
|
__doc__
|
|
#? []
|
|
def __doc__
|
|
|
|
#? []
|
|
def __class__
|
|
#? ['__class__']
|
|
__class__
|
|
|
|
|
|
#? ['__repr__']
|
|
def __repr__
|
|
|
|
#? []
|
|
def mro
|
|
|
|
#? ['myfoobar']
|
|
myfoobar
|
|
|
|
#? []
|
|
myfoobar
|
|
|
|
# -----------------
|
|
# Inheritance
|
|
# -----------------
|
|
|
|
class Super():
|
|
enabled = True
|
|
if enabled:
|
|
yo_dude = 4
|
|
|
|
class Sub(Super):
|
|
#? ['yo_dude']
|
|
yo_dud
|