bundles / IPython 9.13.0 / IPython / core / interactiveshell / InteractiveShell / transform_cell
function
IPython.core.interactiveshell:InteractiveShell.transform_cell
Signature
def transform_cell ( self , raw_cell ) Summary
Transform an input cell before parsing it.
Extended Summary
Static transformations, implemented in IPython.core.inputtransformer2, deal with things like %magic and !system commands. These run on all input. Dynamic transformations, for things like unescaped magics and the exit autocall, depend on the state of the interpreter. These only apply to single line inputs.
These string-based transformations are followed by AST transformations; see transform_ast.
Aliases
-
IPython.InteractiveShell.transform_cell