bundles / IPython 9.11.0 / IPython / core / interactiveshell / InteractiveShell / transform_ast
function
IPython.core.interactiveshell:InteractiveShell.transform_ast
Signature
def transform_ast ( self , node ) Summary
Apply the AST transformations from self.ast_transformers
Parameters
node: ast.NodeThe root node to be transformed. Typically called with the ast.Module produced by parsing user input.
Returns
: An ast.Node corresponding to the node it was called with. Note that it: may also modify the passed object, so don't rely on references to the: original AST.
Aliases
-
IPython.InteractiveShell.transform_ast