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

Function pow

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

Source from the content-addressed store, hash-verified

132
133 #[pyfunction]
134 fn pow(a: PyObjectRef, b: PyObjectRef, vm: &VirtualMachine) -> PyResult {
135 vm._pow(&a, &b, vm.ctx.none.as_object())
136 }
137
138 #[pyfunction]
139 fn rshift(a: PyObjectRef, b: PyObjectRef, vm: &VirtualMachine) -> PyResult {

Callers

nothing calls this directly

Calls 1

as_objectMethod · 0.45

Tested by

no test coverage detected