MCPcopy Create free account
hub / github.com/RustPython/RustPython / divmod

Function divmod

crates/vm/src/stdlib/builtins.rs:462–464  ·  view source on GitHub ↗
(a: PyObjectRef, b: PyObjectRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

460
461 #[pyfunction]
462 fn divmod(a: PyObjectRef, b: PyObjectRef, vm: &VirtualMachine) -> PyResult {
463 vm._divmod(&a, &b)
464 }
465
466 #[derive(FromArgs)]
467 struct ScopeArgs {

Callers 1

inner_divmodFunction · 0.50

Calls 1

_divmodMethod · 0.80

Tested by

no test coverage detected