提交 3a9c3c98 authored 作者: Frederic's avatar Frederic

Take the good habit of using () instead of [] for fct parameter default value.

上级 d04d37d9
......@@ -147,7 +147,7 @@ class BadThunkOutput(DebugModeError):
val2 = None
"""The value computed by `thunk2`"""
def __init__(self, r, thunk1, val1, thunk2, val2, inputs_val=[]):
def __init__(self, r, thunk1, val1, thunk2, val2, inputs_val=()):
"""Initialize members"""
DebugModeError.__init__(self) # to be compatible with python2.4
self.r = r
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论