forked from VimPlug/jedi
The Lambda type should be lambdef, not lambda. Use the grammar types.
This commit is contained in:
@@ -192,7 +192,7 @@ def follow_param(module_context, param):
|
||||
for p in _evaluate_for_statement_string(module_context, param_str)]
|
||||
)
|
||||
func = param.get_parent_function()
|
||||
if func.type == 'lambda':
|
||||
if func.type == 'lambdef':
|
||||
return set()
|
||||
|
||||
types = eval_docstring(func.raw_doc)
|
||||
|
||||
Reference in New Issue
Block a user