File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Or use the interactive shell:
1717
1818 $ cargo run
1919 Welcome to rustpython
20- >>> 2+2
20+ >>>>> 2+2
2121 4
2222
2323<!-- Or use pip to install extra modules:
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ fn run_shell(vm: &mut VirtualMachine) -> PyResult {
162162 // Err(_) => ">>>>> ".to_string(),
163163 //};
164164
165- match rl. readline ( ">>> " ) {
165+ match rl. readline ( ">>>>> " ) {
166166 Ok ( line) => {
167167 input. push_str ( & line) ;
168168 input. push_str ( "\n " ) ;
@@ -179,7 +179,7 @@ fn run_shell(vm: &mut VirtualMachine) -> PyResult {
179179 // Ok(value) => objstr::get_value(&value),
180180 // Err(_) => "..... ".to_string(),
181181 //};
182- match rl. readline ( "... " ) {
182+ match rl. readline ( "..... " ) {
183183 Ok ( line) => {
184184 if line. len ( ) == 0 {
185185 if shell_exec ( vm, & input, vars. clone ( ) ) {
You can’t perform that action at this time.
0 commit comments