提交 2f50a43d authored 作者: you-n-g's avatar you-n-g 提交者: Young

remove redunant container checking.

The container is checked not None for twice
上级 7098e758
......@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论