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

Method __ior__

crates/vm/src/builtins/mappingproxy.rs:194–199  ·  view source on GitHub ↗
(&self, _args: PyObjectRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

192 }
193
194 fn __ior__(&self, _args: PyObjectRef, vm: &VirtualMachine) -> PyResult {
195 Err(vm.new_type_error(format!(
196 r#""'|=' is not supported by {}; use '|' instead""#,
197 Self::class(&vm.ctx)
198 )))
199 }
200
201 fn __or__(&self, args: PyObjectRef, vm: &VirtualMachine) -> PyResult {
202 vm._or(self.copy(vm)?.as_ref(), args.as_ref())

Callers 1

as_numberMethod · 0.45

Calls 1

ErrClass · 0.50

Tested by

no test coverage detected