New submission from Allan Crooks [EMAIL PROTECTED]:
The documentation for random.random function shows this:
random() - x in the interval [0, 1).
That should either be [0, 1] or (0, 1).
--
assignee: georg.brandl
components: Documentation
messages: 71582
nosy: amc1, georg.brandl
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
[0, 1) denotes an interval, not a python object; 0 is included, 1 is
excluded.
And it follows (one of) the standard syntax to express intervals:
http://en.wikipedia.org/wiki/Interval_notation
--
nosy: +amaury.forgeotdarc