forked from VimPlug/jedi
showing function params basically works - fine tuning needed
This commit is contained in:
@@ -124,10 +124,8 @@ class CallDef(object):
|
||||
else:
|
||||
try:
|
||||
sub = self.executable.get_subscope_by_name('__init__')
|
||||
return sub.params
|
||||
return sub.params[1:] # ignore self
|
||||
except KeyError:
|
||||
print self.executable.subscopes
|
||||
print 'LALA'
|
||||
return []
|
||||
|
||||
def __repr__(self):
|
||||
|
||||
Reference in New Issue
Block a user