return self.arg.is_ephemeral()
def nonlocally_immutable(self):
- return super(PyTypeTestNode, self).nonlocally_immutable() or self.arg.nonlocally_immutable()
+ return self.arg.nonlocally_immutable()
def calculate_constant_result(self):
# FIXME
return self.arg.result_in_temp()
def nonlocally_immutable(self):
- return super(NoneCheckNode, self).nonlocally_immutable() or self.arg.nonlocally_immutable()
+ return self.arg.nonlocally_immutable()
def calculate_result_code(self):
return self.arg.result()