Kaydet (Commit) 62770af6 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

SF bug #1081370: Bad reference in whrandom docs

üst e0c80c33
...@@ -14,7 +14,8 @@ no longer used. Please do not use this module directly; use ...@@ -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 This module implements a Wichmann-Hill pseudo-random number generator
class that is also named \class{whrandom}. Instances of the class that is also named \class{whrandom}. Instances of the
\class{whrandom} class conform to the Random Number Generator \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: following method, specific to the Wichmann-Hill algorithm:
\begin{methoddesc}[whrandom]{seed}{\optional{x, y, z}} \begin{methoddesc}[whrandom]{seed}{\optional{x, y, z}}
...@@ -29,6 +30,8 @@ following method, specific to the Wichmann-Hill algorithm: ...@@ -29,6 +30,8 @@ following method, specific to the Wichmann-Hill algorithm:
series produced by the generator. series produced by the generator.
\end{methoddesc} \end{methoddesc}
Other supported methods include:
\begin{funcdesc}{choice}{seq} \begin{funcdesc}{choice}{seq}
Chooses a random element from the non-empty sequence \var{seq} and returns it. Chooses a random element from the non-empty sequence \var{seq} and returns it.
\end{funcdesc} \end{funcdesc}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment