提交 17c78243 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

Removed trailing spaces from function_module

上级 71372851
...@@ -519,12 +519,14 @@ class Function(object): ...@@ -519,12 +519,14 @@ class Function(object):
else: else:
try: try:
s.storage[0] = s.type.filter(arg, strict=s.strict) s.storage[0] = s.type.filter(arg, strict=s.strict)
except Exception, e: except Exception, e:
e.args = tuple(list(e.args)+["Bad input argument at index %d" % arg_index]) e.args = tuple(list(e.args)+["Bad input argument at index %d" % arg_index])
raise raise
s.provided += 1 s.provided += 1
i+=1 i+=1
# Set keyword arguments # Set keyword arguments
for k, arg in kwargs.iteritems(): for k, arg in kwargs.iteritems():
self[k] = arg self[k] = arg
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论