mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
Autocomplete inherited methods when overriding in child class. Fixes #458.
This commit is contained in:
22
test/completion/context.py
Normal file
22
test/completion/context.py
Normal file
@@ -0,0 +1,22 @@
|
||||
class X():
|
||||
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
|
||||
Reference in New Issue
Block a user