MCPcopy Index your code
hub / github.com/RustPython/RustPython / __ior__

Method __ior__

crates/vm/src/builtins/dict.rs:482–485  ·  view source on GitHub ↗
(self, other: PyObjectRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

480 }
481
482 fn __ior__(self, other: PyObjectRef, vm: &VirtualMachine) -> PyResult<Self> {
483 self.merge_object(other, vm)?;
484 Ok(self)
485 }
486
487 fn __ror__(self, other: PyObjectRef, vm: &VirtualMachine) -> PyResult {
488 let other_dict: Result<Self, _> = other.downcast();

Callers 1

as_numberMethod · 0.45

Calls 1

merge_objectMethod · 0.80

Tested by

no test coverage detected