mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-11 09:08:43 +08:00
Don't merge params if it's just one param
This commit is contained in:
@@ -90,6 +90,10 @@ def search_params(evaluator, execution_context, funcdef):
|
|||||||
string_name=string_name,
|
string_name=string_name,
|
||||||
)
|
)
|
||||||
if function_executions:
|
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(
|
zipped_params = zip(*list(
|
||||||
function_execution.get_params()
|
function_execution.get_params()
|
||||||
for function_execution in function_executions
|
for function_execution in function_executions
|
||||||
|
|||||||
Reference in New Issue
Block a user