We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84b71c9 commit a34951dCopy full SHA for a34951d
parser/src/lexer.rs
@@ -1625,7 +1625,7 @@ mod tests {
1625
is_fstring: false,
1626
},
1627
Tok::String {
1628
- value: String::from("raw\'"),
+ value: String::from("raw\\'"),
1629
1630
1631
src/shell.rs
@@ -19,7 +19,7 @@ enum ShellExecResult {
19
20
fn shell_exec(vm: &VirtualMachine, source: &str, scope: Scope) -> ShellExecResult {
21
match vm.compile(source, compile::Mode::Single, "<stdin>".to_owned()) {
22
- Ok(code) => match vm.run_code_obj(code, scope.clone()) {
+ Ok(code) => match vm.run_code_obj(code, scope) {
23
Ok(_val) => ShellExecResult::Ok,
24
Err(err) => ShellExecResult::PyErr(err),
25
0 commit comments