remove pop-push

This commit is contained in:
Jeong YunWon authored and Jeong, YunWon committed 2024-04-25 17:40:15 +09:00
1 parent af8bed6d3f
commit 794a2a1892
1 file changed
+1 -2
+1 -2
View File
@@ -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)
}
}