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

Function mul

crates/vm/src/stdlib/_operator.rs:109–111  ·  view source on GitHub ↗
(a: PyObjectRef, b: PyObjectRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

107
108 #[pyfunction]
109 fn mul(a: PyObjectRef, b: PyObjectRef, vm: &VirtualMachine) -> PyResult {
110 vm._mul(&a, &b)
111 }
112
113 #[pyfunction]
114 fn matmul(a: PyObjectRef, b: PyObjectRef, vm: &VirtualMachine) -> PyResult {

Callers

nothing calls this directly

Calls 1

_mulMethod · 0.45

Tested by

no test coverage detected