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

Method imul

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

Source from the content-addressed store, hash-verified

953 }
954
955 pub fn imul(&mut self, n: isize, vm: &VirtualMachine) -> PyResult<()> {
956 self.elements.imul(vm, n)
957 }
958
959 pub fn concat(&self, other: &PyObject, vm: &VirtualMachine) -> PyResult<Vec<u8>> {
960 let buffer = PyBuffer::try_from_borrowed_object(vm, other)?;

Callers 7

extendMethod · 0.45
__iadd__Method · 0.45
__imul__Method · 0.45
add_instructionMethod · 0.45
compile_ipowMethod · 0.45
irepeatMethod · 0.45
irepeatMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected