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

Method __ior__

crates/vm/src/builtins/set.rs:697–700  ·  view source on GitHub ↗
(zelf: PyRef<Self>, set: AnySet, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

695 }
696
697 fn __ior__(zelf: PyRef<Self>, set: AnySet, vm: &VirtualMachine) -> PyResult<PyRef<Self>> {
698 zelf.inner.update(set.into_iterable_iter(vm)?, vm)?;
699 Ok(zelf)
700 }
701
702 #[pymethod]
703 fn update(&self, others: PosArgs<PyObjectRef>, vm: &VirtualMachine) -> PyResult<()> {

Callers

nothing calls this directly

Calls 2

into_iterable_iterMethod · 0.80
updateMethod · 0.45

Tested by

no test coverage detected