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

Method __mod__

crates/vm/src/builtins/str.rs:972–974  ·  view source on GitHub ↗
(&self, values: PyObjectRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

970 }
971
972 fn __mod__(&self, values: PyObjectRef, vm: &VirtualMachine) -> PyResult<Wtf8Buf> {
973 cformat_string(vm, self.as_wtf8(), values)
974 }
975
976 #[pymethod]
977 fn format(&self, args: FuncArgs, vm: &VirtualMachine) -> PyResult<Wtf8Buf> {

Callers 1

as_numberMethod · 0.45

Calls 2

cformat_stringFunction · 0.85
as_wtf8Method · 0.45

Tested by

no test coverage detected