Skip to content

Commit 8feb714

Browse files
committed
docs/library: Document math.log with two arguments.
The functionality is there but was not documented. Signed-off-by: Damien George <[email protected]>
1 parent 3d53b39 commit 8feb714

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/library/math.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,11 @@ Functions
125125
Return the natural logarithm of the gamma function of ``x``.
126126

127127
.. function:: log(x)
128+
log(x, base)
128129

129-
Return the natural logarithm of ``x``.
130+
With one argument, return the natural logarithm of *x*.
131+
132+
With two arguments, return the logarithm of *x* to the given *base*.
130133

131134
.. function:: log10(x)
132135

0 commit comments

Comments
 (0)