1
0
forked from VimPlug/jedi

Don't merge params if it's just one param

This commit is contained in:
Dave Halter
2018-07-17 09:48:52 +02:00
parent fe1799d125
commit fb360506fb

View File

@@ -90,6 +90,10 @@ def search_params(evaluator, execution_context, funcdef):
string_name=string_name,
)
if function_executions:
if len(function_executions) == 1:
# Don't need to wrap this one.
return function_executions[0].get_params()
zipped_params = zip(*list(
function_execution.get_params()
for function_execution in function_executions