exception throw fix

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

No files matched your search

+1 -1
View File
@@ -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,
+2 -2
View File
@@ -113,8 +113,8 @@ def kwargs_func(**kwargs):
return kwargs
exe = kwargs_func(a=3,b=4)
#? []
exe.
#? ['items']
exe.items
# -----------------
# *args / ** kwargs