提交 0684ff58 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Typo fix

上级 8e7d4dc3
...@@ -1286,7 +1286,7 @@ def orig_function(inputs, outputs, mode=None, accept_inplace=False, ...@@ -1286,7 +1286,7 @@ def orig_function(inputs, outputs, mode=None, accept_inplace=False,
defaults = [getattr(input, 'value', None) for input in inputs] defaults = [getattr(input, 'value', None) for input in inputs]
if isinstance(mode, (list, tuple)): # "mode comparison" semantics if isinstance(mode, (list, tuple)): # "mode comparison" semantics
raise Exception("We do not support the passing of multiple mode") raise Exception("We do not support the passing of multiple modes")
else: else:
Maker = getattr(mode, 'function_maker', FunctionMaker) Maker = getattr(mode, 'function_maker', FunctionMaker)
fn = Maker(inputs, fn = Maker(inputs,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论