1
0
forked from VimPlug/jedi

The Lambda type should be lambdef, not lambda. Use the grammar types.

This commit is contained in:
Dave Halter
2017-04-11 18:28:25 +02:00
parent 685e630c03
commit 6190a65f23
5 changed files with 9 additions and 9 deletions

View File

@@ -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)