提交 84562ca9 authored 作者: Ian Goodfellow's avatar Ian Goodfellow

add del to pacify pyflakes

上级 5c901d61
...@@ -589,6 +589,10 @@ class Op(utils.object2, PureOp, CLinkerOp): ...@@ -589,6 +589,10 @@ class Op(utils.object2, PureOp, CLinkerOp):
rval.outputs = node_output_storage rval.outputs = node_output_storage
rval.lazy = False rval.lazy = False
return rval return rval
# the next line does nothing, but pyflakes is too
# stupid to realize the def rval below is not a
# redefinition unless I include this
del rval
except (NotImplementedError, utils.MethodNotDefined): except (NotImplementedError, utils.MethodNotDefined):
logger.debug('Falling back on perform') logger.debug('Falling back on perform')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论