Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libwhrandom.tex @ 7277:bf4e790bd61a legacy-trunk
Remove all \bcode / \ecode cruft; this is no longer needed. See previous
checkin of myformat.sty.
Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}"
everywhere.
Some other minor nits that I happened to come across.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Fri, 13 Feb 1998 06:58:54 +0000 |
| parents | 3468ea8645ca |
| children | f35b29eb52d1 |
line wrap: on
line diff
--- a/Doc/lib/libwhrandom.tex Fri Feb 13 06:48:05 1998 +0000 +++ b/Doc/lib/libwhrandom.tex Fri Feb 13 06:58:54 1998 +0000 @@ -5,7 +5,7 @@ This module implements a Wichmann-Hill pseudo-random number generator class that is also named \code{whrandom}. Instances of the \code{whrandom} class have the following methods: -\renewcommand{\indexsubitem}{(in module whrandom)} +\setindexsubitem{(in module whrandom)} \begin{funcdesc}{choice}{seq} Chooses a random element from the non-empty sequence \var{seq} and returns it. @@ -37,10 +37,10 @@ the \code{whrandom} class, and makes the methods of that instance available at the module level. Therefore one can write either \code{N = whrandom.random()} or: -\bcode\begin{verbatim} +\begin{verbatim} generator = whrandom.whrandom() N = generator.random() -\end{verbatim}\ecode +\end{verbatim} % \begin{seealso} \seemodule{random}{generators for various random distributions}
