]> granicus.if.org Git - python/commitdiff
Markup adjustments; fix the names of modules referenced in an expression.
authorFred Drake <fdrake@acm.org>
Thu, 23 May 2002 21:07:19 +0000 (21:07 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 23 May 2002 21:07:19 +0000 (21:07 +0000)
Doc/lib/librandom.tex

index 24489bc591af01e06f1d9975b0d9b1086653ada1..846b931008c05706192cdfb28a6ee14a984a1472 100644 (file)
@@ -208,8 +208,8 @@ these equations can be found in any statistics text.
   \code{\var{mean} - \var{arc}/2} and \code{\var{mean} +
   \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}
+  \deprecated{2.3}{Instead, use \code{(\var{mean} + \var{arc} *
+                   (random.random() - 0.5)) \% math.pi}.}
 \end{funcdesc}
 
 \begin{funcdesc}{expovariate}{lambd}