提交 fc64ccaa authored 作者: Hengjean's avatar Hengjean

Correction on Extend arguments

上级 e4c39dc0
......@@ -120,7 +120,7 @@ class ExtendInplace(Op):
def __hash__(self):
return hash(type(self))
def make_node(self, x, toAppend, inplace=False):
def make_node(self, x, toAppend):
assert isinstance(x.type, TypedListType)
assert x.type == toAppend.type
return Apply(self, [x, toAppend], [x.type()])
......@@ -145,7 +145,7 @@ class Extend(Op):
def __hash__(self):
return hash(type(self))
def make_node(self, x, toAppend, inplace=False):
def make_node(self, x, toAppend):
assert isinstance(x.type, TypedListType)
assert x.type == toAppend.type
return Apply(self, [x, toAppend], [x.type()])
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论