forked from VimPlug/jedi
Removed the name attribute from lambda. It doesn't exist so don't fake it.
This commit is contained in:
@@ -192,6 +192,9 @@ 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':
|
||||
return set()
|
||||
|
||||
types = eval_docstring(func.raw_doc)
|
||||
if func.name.value == '__init__':
|
||||
cls = search_ancestor(func, 'classdef')
|
||||
|
||||
Reference in New Issue
Block a user