random number including 1 - i.e. [0,1]

Terry Reedy tjreedy at udel.edu
Wed Jun 10 20:53:19 CEST 2009

Mensanator wrote:

> So, the 2.6.2 documentation is STILL wrong. Before it implied
> it was ALWAYS a semi-open interval, and now it says it's ALWAYS
> a closed interval. But neither is correct.

If a < x < b is true, then a <= x <= b is true.
But docs say that in general end point values might happen.  They do not 
say that in every particular case, they will happen.

A full technical discussion does not below in the docs, in my opinion. 
A wike article would be fine.


More information about the Python-list mailing list