From: Raymond Hettinger Date: Sat, 5 Oct 2002 15:00:09 +0000 (+0000) Subject: Backport 1.30 and 1.29: X-Git-Tag: v2.2.2b1~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=89c04ae264034ba65673e1b46485f0d08b11d917;p=thirdparty%2FPython%2Fcpython.git Backport 1.30 and 1.29: Markup adjustments; fix the names of modules referenced in an expression. Deprecated Random.cunifvariate clearing bug 506647. --- diff --git a/Doc/lib/librandom.tex b/Doc/lib/librandom.tex index 3a12ae618b49..846b931008c0 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 \code{(\var{mean} + \var{arc} * + (random.random() - 0.5)) \% math.pi}.} \end{funcdesc} \begin{funcdesc}{expovariate}{lambd}