Commit cdfded6a authored by Stefan Behnel's avatar Stefan Behnel

be a little more conservative in the last change

parent 5c478f42
...@@ -2002,6 +2002,7 @@ class SliceIndexNode(ExprNode): ...@@ -2002,6 +2002,7 @@ class SliceIndexNode(ExprNode):
def analyse_target_types(self, env): def analyse_target_types(self, env):
self.analyse_types(env) self.analyse_types(env)
# when assigning, we must accept any Python type # when assigning, we must accept any Python type
if self.type.is_pyobject:
self.type = py_object_type self.type = py_object_type
def analyse_types(self, env): def analyse_types(self, env):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment