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

Method mul

crates/vm/src/bytes_inner.rs:951–953  ·  view source on GitHub ↗
(&self, n: isize, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

949 }
950
951 pub fn mul(&self, n: isize, vm: &VirtualMachine) -> PyResult<Vec<u8>> {
952 self.elements.mul(vm, n)
953 }
954
955 pub fn imul(&mut self, n: isize, vm: &VirtualMachine) -> PyResult<()> {
956 self.elements.imul(vm, n)

Callers 6

__mul__Method · 0.45
repeatMethod · 0.45
repeatMethod · 0.45
repeatMethod · 0.45
repeatMethod · 0.45
repeatMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected