提交 5c02b98e authored 作者: Frédéric Bastien's avatar Frédéric Bastien

Merge pull request #4537 from you-n-g/patch-1

remove redundant container checking.
......@@ -76,8 +76,6 @@ class SharedVariable(Variable):
raise TypeError('value and strict are ignored if you pass '
'a container here')
else:
if container is not None:
raise TypeError('Error to specify both value and container')
self.container = Container(
self,
storage=[type.filter(value, strict=strict,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论