forked from Rust-related/RustPython
Fixed unwrapping in frame.rs
This commit is contained in:
@@ -1306,7 +1306,7 @@ impl ExecutingFrame<'_> {
|
||||
return Err(vm.new_type_error(msg));
|
||||
}
|
||||
}
|
||||
map_obj.set_item(key, value, vm).unwrap();
|
||||
map_obj.set_item(key, value, vm)?;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user