From 63c18ce748c7e1efaffe43a1fb38ca19981b457b Mon Sep 17 00:00:00 2001 From: Alec Delaney Date: Tue, 19 Apr 2022 12:57:42 -0400 Subject: [PATCH] Change signature of math.log() to use value for base --- shared-bindings/math/__init__.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared-bindings/math/__init__.c b/shared-bindings/math/__init__.c index f25c261ef5..f0698164a7 100644 --- a/shared-bindings/math/__init__.c +++ b/shared-bindings/math/__init__.c @@ -157,7 +157,7 @@ STATIC NORETURN void math_error(void) { //| """Return ``x * (2**exp)``.""" //| ... //| -//| def log(x: float, base: float = math.e) -> float: +//| def log(x: float, base: float = 2.71828) -> float: //| """Return the logarithm of x to the given base. If base is not specified, //| returns the natural logarithm (base e) of x"" //| ...