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

Function min

crates/vm/src/stdlib/builtins.rs:891–893  ·  view source on GitHub ↗
(args: FuncArgs, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

889
890 #[pyfunction]
891 fn min(args: FuncArgs, vm: &VirtualMachine) -> PyResult {
892 min_or_max(args, vm, "min", PyComparisonOp::Lt)
893 }
894
895 #[pyfunction]
896 fn next(

Callers 15

_fromtimestampMethod · 0.85
writeMethod · 0.85
formatyearMethod · 0.85
formatyearMethod · 0.85
formatyearMethod · 0.85
cleandocFunction · 0.85
getcallargsFunction · 0.85
getframeinfoFunction · 0.85
compile_dirFunction · 0.85
_readMethod · 0.85
copyfileFunction · 0.85

Calls 1

min_or_maxFunction · 0.85

Tested by 15

_min_indentMethod · 0.68
test_optionalSlicingMethod · 0.68
check_lnotabMethod · 0.68
slice_indicesFunction · 0.68
test_imulMethod · 0.68
testDecompress4GMethod · 0.68
getranMethod · 0.68
test_minMethod · 0.68
do_relative_symmetryMethod · 0.68