summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-05-23 19:44:49 (GMT)
committerRaymond Hettinger <python@rcn.com>2002-05-23 19:44:49 (GMT)
commitc32f0336e062dd36f82fb236c66ac25e2bac217b (patch)
tree8a72125253a0e54dbce78eb7275160092527e659 /Doc/lib
parentf070cce6afebd3ef9cefb127d4e4db93881f3ec1 (diff)
downloadcpython-c32f0336e062dd36f82fb236c66ac25e2bac217b.zip
cpython-c32f0336e062dd36f82fb236c66ac25e2bac217b.tar.gz
cpython-c32f0336e062dd36f82fb236c66ac25e2bac217b.tar.bz2
Deprecated Random.cunifvariate clearing bug 506647. Also, added docstrings.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/librandom.tex5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/lib/librandom.tex b/Doc/lib/librandom.tex
index 3a12ae6..24489bc 100644
--- a/Doc/lib/librandom.tex
+++ b/Doc/lib/librandom.tex
@@ -206,7 +206,10 @@ these equations can be found in any statistics text.
angle. Both values must be expressed in radians, and can range
between 0 and \emph{pi}. Returned values range between
\code{\var{mean} - \var{arc}/2} and \code{\var{mean} +
- \var{arc}/2}.
+ \var{arc}/2} and are normalized to between 0 and \emph{pi}.
+
+ \deprecated{2.3}{Instead, use (mean + arc * (Random.random()
+ - 0.5)) % Math.pi}
\end{funcdesc}
\begin{funcdesc}{expovariate}{lambd}