forked from VimPlug/jedi
Merge dev into linter.
This commit is contained in:
@@ -336,7 +336,7 @@ class BaseDefinition(object):
|
||||
raise AttributeError()
|
||||
followed = followed[0] # only check the first one.
|
||||
|
||||
if followed.type == 'funcdef':
|
||||
if followed.type in ('funcdef', 'lambda'):
|
||||
if isinstance(followed, er.InstanceElement):
|
||||
params = followed.params[1:]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user