提交 1a8ec990 authored 作者: texot's avatar texot

Rollback wrong fix

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