Function rustpython_codegen::compile::compile_program_single
source · pub fn compile_program_single(
ast: &[Stmt],
source_path: String,
opts: CompileOpts
) -> Result<CodeObject, CodegenError>
Expand description
Compile a Python program to bytecode for the context of a REPL