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

Method __mul__

crates/vm/src/builtins/bytearray.rs:531–533  ·  view source on GitHub ↗
(&self, value: ArgSize, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

529 }
530
531 fn __mul__(&self, value: ArgSize, vm: &VirtualMachine) -> PyResult<Self> {
532 self.repeat(value.into(), vm)
533 }
534
535 fn __imul__(zelf: PyRef<Self>, value: ArgSize, vm: &VirtualMachine) -> PyResult<PyRef<Self>> {
536 Self::irepeat(&zelf, value.into(), vm)?;

Callers

nothing calls this directly

Calls 1

repeatMethod · 0.45

Tested by

no test coverage detected