Commit 812275e9 authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn

More easy ones to new temps

parent f78e64cb
...@@ -1986,7 +1986,7 @@ class IndexNode(ExprNode): ...@@ -1986,7 +1986,7 @@ class IndexNode(ExprNode):
code.putln(code.error_goto(self.pos)) code.putln(code.error_goto(self.pos))
code.putln("}") code.putln("}")
class SliceIndexNode(ExprNode): class SliceIndexNode(NewTempExprNode):
# 2-element slice indexing # 2-element slice indexing
# #
# base ExprNode # base ExprNode
...@@ -2188,7 +2188,7 @@ class SliceIndexNode(ExprNode): ...@@ -2188,7 +2188,7 @@ class SliceIndexNode(ExprNode):
return "<unused>" return "<unused>"
class SliceNode(ExprNode): class SliceNode(NewTempExprNode):
# start:stop:step in subscript list # start:stop:step in subscript list
# #
# start ExprNode # start ExprNode
...@@ -3524,7 +3524,7 @@ class DictNode(NewTempExprNode): ...@@ -3524,7 +3524,7 @@ class DictNode(NewTempExprNode):
for item in self.key_value_pairs: for item in self.key_value_pairs:
item.annotate(code) item.annotate(code)
class DictItemNode(ExprNode): class DictItemNode(NewTempExprNode):
# Represents a single item in a DictNode # Represents a single item in a DictNode
# #
# key ExprNode # key ExprNode
......
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