def visit_tryexcept(self, node, parent):
        """visit a TryExcept node by returning a fresh instance of it"""
        newnode = nodes.TryExcept(node.lineno, node.col_offset, parent)
        newnode.postinit(
            [self.visit(child, newnode) for child in node.body],
            [self.visit(child, newnode) for child in node.handlers],
            [self.visit(child, newnode) for child in node.orelse],
        )
        return newnode
def visit_tryexcept ( self , node , parent ) : newnode = nodes . TryExcept ( node . lineno , node . col_offset , parent ) newnode . postinit ( [ self . visit ( child , newnode ) for child in node . body ] , [ self . visit ( child , newnode ) for child in node . handlers ] , [ self . visit ( child , newnode ) for child in node . orelse ] , ) return newnode
visit a TryExcept node by returning a fresh instance of it