summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/library/math.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/library/math.rst b/docs/library/math.rst
index a6f13d48c..335bd8078 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)