提交 3834ea89 authored 作者: James Bergstra's avatar James Bergstra

fixed double-indentation of function body in gof/link

上级 5f179854
......@@ -260,15 +260,15 @@ def streamline(env, thunks, order, post_thunk_old_storage = None, no_recycling =
(len(thunks), len(post_thunk_old_storage)))
def streamline_default_f():
for x in no_recycling:
x[0] = None
try:
for thunk, node, old_storage in zip(thunks, order, post_thunk_old_storage):
thunk()
for old_s in old_storage:
old_s[0] = None
except:
raise_with_op(node)
for x in no_recycling:
x[0] = None
try:
for thunk, node, old_storage in zip(thunks, order, post_thunk_old_storage):
thunk()
for old_s in old_storage:
old_s[0] = None
except:
raise_with_op(node)
f = streamline_default_f
elif nice_errors:
thunk_node_list = zip(thunks, order)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论