From 1ae1d85fbdb30a65a410b82cda8273f4a319c648 Mon Sep 17 00:00:00 2001 From: Marco Manino Date: Tue, 18 Jul 2023 17:24:19 +0200 Subject: [PATCH] Fixing name of mod builtin --- lib/math/math.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/math/math.go b/lib/math/math.go index ba2fe26c..07eb4a71 100644 --- a/lib/math/math.go +++ b/lib/math/math.go @@ -71,7 +71,7 @@ var Module = &starlarkstruct.Module{ "copysign": newBinaryBuiltin("copysign", math.Copysign), "fabs": newUnaryBuiltin("fabs", math.Abs), "floor": starlark.NewBuiltin("floor", floor), - "mod": newBinaryBuiltin("round", math.Mod), + "mod": newBinaryBuiltin("mod", math.Mod), "pow": newBinaryBuiltin("pow", math.Pow), "remainder": newBinaryBuiltin("remainder", math.Remainder), "round": newUnaryBuiltin("round", math.Round),