[−][src]Function rustpython_compiler::compile::compile_program_single
pub fn compile_program_single(
ast: Program,
source_path: String,
optimize: u8
) -> Result<CodeObject, CompileError>
Compile a Python program to bytecode for the context of a REPL