summaryrefslogtreecommitdiffstats
path: root/Doc/lib/librandom.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-05-23 21:07:19 (GMT)
committerFred Drake <fdrake@acm.org>2002-05-23 21:07:19 (GMT)
commit92bf9dacc95fd5e2c781771d8577196b354c2557 (patch)
tree8168b84ffa7a205f429d2c544650e9e9e0309340 /Doc/lib/librandom.tex
parent84ee323cb9fd8a43cb5b6d8fa948fc3d16ded121 (diff)
downloadcpython-92bf9dacc95fd5e2c781771d8577196b354c2557.zip
cpython-92bf9dacc95fd5e2c781771d8577196b354c2557.tar.gz
cpython-92bf9dacc95fd5e2c781771d8577196b354c2557.tar.bz2
Markup adjustments; fix the names of modules referenced in an expression.
Diffstat (limited to 'Doc/lib/librandom.tex')
-rw-r--r--Doc/lib/librandom.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/librandom.tex b/Doc/lib/librandom.tex
index 24489bc..846b931 100644
--- a/Doc/lib/librandom.tex
+++ b/Doc/lib/librandom.tex
@@ -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}