mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
Merge pull request #2803 from moreal/bugfix/rethrow-error-in-build-map
Fix incorrect unwrapping
This commit is contained in:
@@ -1311,7 +1311,7 @@ impl ExecutingFrame<'_> {
|
||||
}
|
||||
} else {
|
||||
for (key, value) in self.pop_multiple(2 * size).tuples() {
|
||||
map_obj.set_item(key, value, vm).unwrap();
|
||||
map_obj.set_item(key, value, vm)?;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user