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),