summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libcmath.tex
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-06-14 07:40:10 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-06-14 07:40:10 (GMT)
commitb67ad7e67159365faa1e61d436df99010bc7c97d (patch)
tree70b9fafcf1cc3d55b09fcd79d3fa23bde889a5a8 /Doc/lib/libcmath.tex
parentad21945d03bd792a6a93e1dbd2addd6b7b63dbee (diff)
downloadcpython-b67ad7e67159365faa1e61d436df99010bc7c97d.zip
cpython-b67ad7e67159365faa1e61d436df99010bc7c97d.tar.gz
cpython-b67ad7e67159365faa1e61d436df99010bc7c97d.tar.bz2
Patch #826074: cmath.log optional base argument, fixes #823209
(Contributed by Andrew Gaul.)
Diffstat (limited to 'Doc/lib/libcmath.tex')
-rw-r--r--Doc/lib/libcmath.tex6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/lib/libcmath.tex b/Doc/lib/libcmath.tex
index 77496bf..465c8fd 100644
--- a/Doc/lib/libcmath.tex
+++ b/Doc/lib/libcmath.tex
@@ -73,10 +73,12 @@ Return the hyperbolic cosine of \var{x}.
Return the exponential value \code{e**\var{x}}.
\end{funcdesc}
-\begin{funcdesc}{log}{x}
-Return the natural logarithm of \var{x}.
+\begin{funcdesc}{log}{x\optional{, base}}
+Returns the logarithm of \var{x} to the given \var{base}.
+If the \var{base} is not specified, returns the natural logarithm of \var{x}.
There is one branch cut, from 0 along the negative real axis to
-\infinity, continuous from above.
+\versionchanged[\var{base} argument added]{2.4}
\end{funcdesc}
\begin{funcdesc}{log10}{x}