forked from VimPlug/jedi
exception throw fix
This commit is contained in:
@@ -133,7 +133,7 @@ class Executable(object):
|
||||
while key:
|
||||
try:
|
||||
key_param = param_dict[key]
|
||||
except IndexError:
|
||||
except KeyError:
|
||||
non_matching_keys.append((key, value))
|
||||
else:
|
||||
result.append(gen_param_name_copy(key_param,
|
||||
|
||||
@@ -113,8 +113,8 @@ def kwargs_func(**kwargs):
|
||||
return kwargs
|
||||
|
||||
exe = kwargs_func(a=3,b=4)
|
||||
#? []
|
||||
exe.
|
||||
#? ['items']
|
||||
exe.items
|
||||
|
||||
# -----------------
|
||||
# *args / ** kwargs
|
||||
|
||||
Reference in New Issue
Block a user