1
0
forked from VimPlug/jedi

exception throw fix

This commit is contained in:
David Halter
2012-05-07 22:48:40 +02:00
parent 57128bf17f
commit 62123ed764
2 changed files with 3 additions and 3 deletions

View File

@@ -133,7 +133,7 @@ class Executable(object):
while key: while key:
try: try:
key_param = param_dict[key] key_param = param_dict[key]
except IndexError: except KeyError:
non_matching_keys.append((key, value)) non_matching_keys.append((key, value))
else: else:
result.append(gen_param_name_copy(key_param, result.append(gen_param_name_copy(key_param,

View File

@@ -113,8 +113,8 @@ def kwargs_func(**kwargs):
return kwargs return kwargs
exe = kwargs_func(a=3,b=4) exe = kwargs_func(a=3,b=4)
#? [] #? ['items']
exe. exe.items
# ----------------- # -----------------
# *args / ** kwargs # *args / ** kwargs