mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 11:14:38 +08:00
remove pop-push
This commit is contained in:
1 parent
af8bed6d3f
commit
794a2a1892
1 file changed
+1
-2
+1
-2
@@ -1496,8 +1496,7 @@ impl ExecutingFrame<'_> {
|
||||
}
|
||||
PyIterReturn::StopIteration(value) => {
|
||||
let value = vm.unwrap_or_none(value);
|
||||
self.pop_value();
|
||||
self.push_value(value);
|
||||
self.replace_top(value);
|
||||
Ok(None)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user