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

Method __mod__

crates/vm/src/builtins/bytes.rs:523–526  ·  view source on GitHub ↗
(&self, values: PyObjectRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

521 }
522
523 fn __mod__(&self, values: PyObjectRef, vm: &VirtualMachine) -> PyResult<Self> {
524 let formatted = self.inner.cformat(values, vm)?;
525 Ok(formatted.into())
526 }
527
528 #[pymethod]
529 fn __getnewargs__(&self, vm: &VirtualMachine) -> PyTupleRef {

Callers 1

as_numberMethod · 0.45

Calls 1

cformatMethod · 0.80

Tested by

no test coverage detected