[Python-checkins] r66535 - python/trunk/Doc/library/random.rst
A.M. Kuchling
amk at amk.ca
Sun Sep 21 14:52:49 CEST 2008
On Sun, Sep 21, 2008 at 10:03:21AM +0200, georg.brandl wrote:
> #3918: note that uniform() args can be swapped.
> - Return a random floating point number *N* such that ``a <= N < b``.
> + Return a random floating point number *N* such that ``a <= N < b`` for
> + ``a <= b`` and ``b <= N < a`` for ``b < a``.
An alternative way to describe this might be:
such that ``min(a,b) <= N < max(a,b)``.
--amk
More information about the Python-checkins
mailing list