Did I find the right examples for you? yes no

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)
Return a modified parse tree for the given suite text.

src/c/o/codetools-4.2.0/codetools/blocks/compiler_/compiler_.py   codetools(Download)
        if py_version < 2.6:
            new_buf = 'from __future__ import with_statement\n' + buf
            ast = transformer.parsesuite(new_buf)
            ast.node.nodes = ast.node.nodes[1:]
            for node in ast.node.nodes:
                if node.lineno is not None:
                    node.lineno -= 1
            return ast
        return transformer.parsesuite(buf)

src/c/o/codetools-HEAD/codetools/blocks/compiler_/compiler_.py   codetools(Download)
        if py_version < 2.6:
            new_buf = 'from __future__ import with_statement\n' + buf
            ast = transformer.parsesuite(new_buf)
            ast.node.nodes = ast.node.nodes[1:]
            for node in ast.node.nodes:
                if node.lineno is not None:
                    node.lineno -= 1
            return ast
        return transformer.parsesuite(buf)

src/b/l/blockcanvas-HEAD/blockcanvas/numerical_modeling/workflow/block_experiment_networkx/compiler_/compiler_.py   blockcanvas(Download)
        transformer = Transformer()
    if mode == "exec" or mode == "single":
        return transformer.parsesuite(buf)
    elif mode == "eval":
        return transformer.parseexpr(buf)