From: Raymond Hettinger Date: Fri, 10 Dec 2004 17:23:32 +0000 (+0000) Subject: SF bug #1081370: Bad reference in whrandom docs X-Git-Tag: v2.4.1c1~168 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=62770af62effdce1eab3cc7a92052b41e2c7a39f;p=thirdparty%2FPython%2Fcpython.git SF bug #1081370: Bad reference in whrandom docs --- diff --git a/Doc/lib/libwhrandom.tex b/Doc/lib/libwhrandom.tex index c5df0ef7d06a..cd90824fc11f 100644 --- a/Doc/lib/libwhrandom.tex +++ b/Doc/lib/libwhrandom.tex @@ -14,7 +14,8 @@ no longer used. Please do not use this module directly; use This module implements a Wichmann-Hill pseudo-random number generator class that is also named \class{whrandom}. Instances of the \class{whrandom} class conform to the Random Number Generator -interface described in section \ref{rng-objects}. They also offer the +interface described in the docs for the \refmodule{random} module. +They also offer the following method, specific to the Wichmann-Hill algorithm: \begin{methoddesc}[whrandom]{seed}{\optional{x, y, z}} @@ -29,6 +30,8 @@ following method, specific to the Wichmann-Hill algorithm: series produced by the generator. \end{methoddesc} +Other supported methods include: + \begin{funcdesc}{choice}{seq} Chooses a random element from the non-empty sequence \var{seq} and returns it. \end{funcdesc}