Skip to content

Commit e178478

Browse files
committed
merged
1 parent 224ad3f commit e178478

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

vm/src/obj/objdict.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,6 @@ impl PyDictRef {
320320
PyDictRef::merge(&self.entries, dict_obj, kwargs, vm)
321321
}
322322

323-
<<<<<<< HEAD
324-
=======
325323
#[pymethod(name = "__ior__")]
326324
fn ior(self, other: PyObjectRef, vm: &VirtualMachine) -> PyResult {
327325
let dicted: Result<PyDictRef, _> = other.clone().downcast();
@@ -354,7 +352,6 @@ impl PyDictRef {
354352
Err(vm.new_type_error("__or__ not implemented for non-dict type".to_owned()))
355353
}
356354

357-
>>>>>>> 41849ab5... fixed: returned wrong error when union opration is invoked with other type. So far it was a key error now it is a type error.
358355
#[pymethod]
359356
fn pop(
360357
self,

0 commit comments

Comments
 (0)