forked from VimPlug/jedi
position of func_def window stays now the same
This commit is contained in:
6
api.py
6
api.py
@@ -119,7 +119,7 @@ class CallDef(object):
|
||||
|
||||
@property
|
||||
def params(self):
|
||||
if isinstance(self.executable, evaluate.Function):
|
||||
if self.executable.isinstance(evaluate.Function):
|
||||
return self.executable.params
|
||||
else:
|
||||
try:
|
||||
@@ -128,6 +128,10 @@ class CallDef(object):
|
||||
except KeyError:
|
||||
return []
|
||||
|
||||
@property
|
||||
def bracket_start(self):
|
||||
return self.call.name.end_pos
|
||||
|
||||
def __repr__(self):
|
||||
return '<%s: %s index %s>' % (self.__class__.__name__, self.executable,
|
||||
self.index)
|
||||
|
||||
Reference in New Issue
Block a user