summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-02-03 01:12:44 (GMT)
committerFred Drake <fdrake@acm.org>2001-02-03 01:12:44 (GMT)
commit269625f67a0b9e80d7d3d3cdccd6a24e2b3a722a (patch)
treeb554ccffc1a990ad92758ce1f7b78a278d17aa82 /Doc/lib
parentf0e08ef9cb1af858777dcc4d68e4434def9f8b9e (diff)
downloadcpython-269625f67a0b9e80d7d3d3cdccd6a24e2b3a722a.zip
cpython-269625f67a0b9e80d7d3d3cdccd6a24e2b3a722a.tar.gz
cpython-269625f67a0b9e80d7d3d3cdccd6a24e2b3a722a.tar.bz2
Revise the deprecation note for the whrandom module to be correct and a
little more formal.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libwhrandom.tex8
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/lib/libwhrandom.tex b/Doc/lib/libwhrandom.tex
index cc00f19..41b0c83 100644
--- a/Doc/lib/libwhrandom.tex
+++ b/Doc/lib/libwhrandom.tex
@@ -4,8 +4,12 @@
\declaremodule{standard}{whrandom}
\modulesynopsis{Floating point pseudo-random number generator.}
-\strong{Note:} This module is an implementation detail of the
-\refmodule{random} module. Please do not use this module directly.
+\deprecated{2.1}{Use \refmodule{random} instead.}
+
+\strong{Note:} This module was an implementation detail of the
+\refmodule{random} module in releases of Python prior to 2.1. It is
+no longer used. Please do not use this module directly; use
+\refmodule{random} instead.
This module implements a Wichmann-Hill pseudo-random number generator
class that is also named \class{whrandom}. Instances of the