Commit 1f735bf4 authored by Stefan Behnel's avatar Stefan Behnel

cleanup

parent 1757506c
......@@ -2704,13 +2704,7 @@ class SliceNode(ExprNode):
def compile_time_value(self, denv):
start = self.start.compile_time_value(denv)
if self.stop is None:
stop = None
else:
stop = self.stop.compile_time_value(denv)
if self.step is None:
step = None
else:
step = self.step.compile_time_value(denv)
try:
return slice(start, stop, step)
......
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