def visit_extslice(self, node, parent):
        """visit an ExtSlice node by returning a fresh instance of it"""
        newnode = nodes.ExtSlice(parent=parent)
        newnode.postinit([self.visit(dim, newnode) for dim in node.dims])
        return newnode
def visit_extslice ( self , node , parent ) : newnode = nodes . ExtSlice ( parent = parent ) newnode . postinit ( [ self . visit ( dim , newnode ) for dim in node . dims ] ) return newnode
visit an ExtSlice node by returning a fresh instance of it