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)