Add note about when output is printed to mini_repl.rs

This commit is contained in:
Cedric Hutchings committed 2020-01-26 01:04:53 -05:00
1 parent 9beb44251d
commit c6aed0464a
1 file changed
+1
+1
View File
@@ -41,6 +41,7 @@ fn main() -> PyResult<()> {
.map_err(|err| vm.new_syntax_error(&err))?;
// this line also automatically prints the output
// (note that this is only the case when compile::Mode::Single is passed to vm.compile)
let output = vm.run_code_obj(code_obj, scope.clone())?;
// store the last value in the "last" variable