def visit_RETURN(self, node):
        """ Visits only children[1], since children[0] points to
        the current function being returned from (if any), and
        might cause infinite recursion.
        """
        if len(node.children) == 2:
            node.children[1] = (yield ToVisit(node.children[1]))
        yield node
def visit_RETURN ( self , node ) : if len ( node . children ) == 2 : node . children [ 1 ] = ( yield ToVisit ( node . children [ 1 ] ) ) yield node
Visits only children[1], since children[0] points to
        the current function being returned from (if any), and
        might cause infinite recursion.