]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport 1.30 and 1.29:
authorRaymond Hettinger <python@rcn.com>
Sat, 5 Oct 2002 15:00:09 +0000 (15:00 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 5 Oct 2002 15:00:09 +0000 (15:00 +0000)
Markup adjustments; fix the names of modules referenced in an expression.

Deprecated Random.cunifvariate clearing bug 506647.

Doc/lib/librandom.tex

index 3a12ae618b4933c552ef1dba0a01847c3356c662..846b931008c05706192cdfb28a6ee14a984a1472 100644 (file)
@@ -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 \code{(\var{mean} + \var{arc} *
+                   (random.random() - 0.5)) \% math.pi}.}
 \end{funcdesc}
 
 \begin{funcdesc}{expovariate}{lambd}