def visit_setcomp(self, node, parent):
        """visit a SetComp node by returning a fresh instance of it"""
        newnode = nodes.SetComp(node.lineno, node.col_offset, parent)
        newnode.postinit(
            self.visit(node.elt, newnode),
            [self.visit(child, newnode) for child in node.generators],
        )
        return newnode
def visit_setcomp ( self , node , parent ) : newnode = nodes . SetComp ( node . lineno , node . col_offset , parent ) newnode . postinit ( self . visit ( node . elt , newnode ) , [ self . visit ( child , newnode ) for child in node . generators ] , ) return newnode
visit a SetComp node by returning a fresh instance of it