mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-31 04:25:23 +08:00
fix a dynamic search param problem
This commit is contained in:
@@ -161,7 +161,7 @@ def search_params(param):
|
||||
else:
|
||||
commands = param.get_commands()
|
||||
offset = 1 if commands[0] in ['*', '**'] else 0
|
||||
param_name = str(commands[0][offset].name)
|
||||
param_name = str(commands[offset].name)
|
||||
|
||||
# add the listener
|
||||
listener = ParamListener()
|
||||
|
||||
Reference in New Issue
Block a user