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

Method __imul__

crates/stdlib/src/array.rs:1092–1095  ·  view source on GitHub ↗
(zelf: PyRef<Self>, value: isize, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

1090 }
1091
1092 fn __imul__(zelf: PyRef<Self>, value: isize, vm: &VirtualMachine) -> PyResult<PyRef<Self>> {
1093 zelf.try_resizable(vm)?.imul(value, vm)?;
1094 Ok(zelf)
1095 }
1096
1097 pub(crate) fn __len__(&self) -> usize {
1098 self.read().len()

Callers

nothing calls this directly

Calls 2

try_resizableMethod · 0.80
imulMethod · 0.45

Tested by

no test coverage detected