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

Method __mod__

crates/vm/src/builtins/bytearray.rs:540–543  ·  view source on GitHub ↗
(&self, values: PyObjectRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

538 }
539
540 fn __mod__(&self, values: PyObjectRef, vm: &VirtualMachine) -> PyResult<Self> {
541 let formatted = self.inner().cformat(values, vm)?;
542 Ok(formatted.into())
543 }
544
545 #[pymethod]
546 fn reverse(&self) {

Callers 1

as_numberMethod · 0.45

Calls 2

cformatMethod · 0.80
innerMethod · 0.45

Tested by

no test coverage detected