def visit_slice(self, node):
lower = node.lower.accept(self) if node.lower else "<STR_LIT>"<EOL>upper = node.upper.accept(self) if node.upper else "<STR_LIT>"<EOL>step = node.step.accept(self) if node.step else "<STR_LIT>"<EOL>if step:<EOL><INDENT>return "<STR_LIT>" % (lower, upper, step)<EOL><DEDENT>return "<STR_LIT>" % (lower, upper)<EOL>
return an astroid.Slice node as string