bundles / IPython 9.3.0 / IPython / core / compilerop / CachingCompiler / ast_parse
function
IPython.core.compilerop:CachingCompiler.ast_parse
source: /IPython/core/compilerop.py :81
Signature
def ast_parse ( self , source , filename = <unknown> , symbol = exec ) Summary
Parse code to an AST with the current compiler flags active.
Extended Summary
Arguments are exactly the same as ast.parse (in the standard library), and are passed to the built-in compile function.
Aliases
-
IPython.core.compilerop.CachingCompiler.ast_parse