Mercurial > cpython-lru_cache-weakref
view Doc/libwhrandom.tex @ 4566:6403c94de50d legacy-trunk
Added safeguard against failure in __del__.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 27 Nov 1996 19:39:58 +0000 |
| parents | 2ec96140a36b |
| children | 72986b716824 |
line wrap: on
line source
\section{Standard Module \sectcode{whrandom}} \stmodindex{whrandom} This module implements a Wichmann-Hill pseudo-random number generator. It defines the following functions: \renewcommand{\indexsubitem}{(in module whrandom)} \begin{funcdesc}{random}{} Returns the next random floating point number in the range [0.0 ... 1.0). \end{funcdesc} \begin{funcdesc}{seed}{x\, y\, z} Initializes the random number generator from the integers \var{x}, \var{y} and \var{z}. When the module is first imported, the random number is initialized using values derived from the current time. \end{funcdesc}
