mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 06:44:46 +08:00
33 lines
345 B
Python
33 lines
345 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
|
|
|
|
#? []
|
|
def __class__
|
|
|
|
#? ['__repr__']
|
|
def __repr__
|
|
|
|
#? []
|
|
def mro
|
|
|
|
#? ['myfoobar']
|
|
myfoobar
|
|
|
|
#? []
|
|
myfoobar
|