Commit 95768141 authored by Stefan Behnel's avatar Stefan Behnel

minor code cleanup

parent e6bce814
...@@ -6474,8 +6474,8 @@ class AttributeNode(ExprNode): ...@@ -6474,8 +6474,8 @@ class AttributeNode(ExprNode):
self.op = "." self.op = "."
if obj_type.has_attributes: if obj_type.has_attributes:
if obj_type.attributes_known(): if obj_type.attributes_known():
if (obj_type.is_memoryviewslice and not entry = obj_type.scope.lookup_here(self.attribute)
obj_type.scope.lookup_here(self.attribute)): if obj_type.is_memoryviewslice and not entry:
if self.attribute == 'T': if self.attribute == 'T':
self.is_memslice_transpose = True self.is_memslice_transpose = True
self.is_temp = True self.is_temp = True
......
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