提交 9e1c5052 authored 作者: texot's avatar texot 提交者: Frederic Bastien

Rollback wrong fix

上级 126ef599
...@@ -74,7 +74,7 @@ class SharedVariable(Variable): ...@@ -74,7 +74,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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论