From 8feb714b4d6bc29af3221c0abd47c4adb754f904 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 10 Sep 2024 10:44:14 +1000 Subject: [PATCH] docs/library: Document math.log with two arguments. The functionality is there but was not documented. Signed-off-by: Damien George --- docs/library/math.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/library/math.rst b/docs/library/math.rst index a6f13d48c189..335bd80781cf 100644 --- a/docs/library/math.rst +++ b/docs/library/math.rst @@ -125,8 +125,11 @@ Functions Return the natural logarithm of the gamma function of ``x``. .. function:: log(x) + log(x, base) - Return the natural logarithm of ``x``. + With one argument, return the natural logarithm of *x*. + + With two arguments, return the logarithm of *x* to the given *base*. .. function:: log10(x)