[docs] trivial typographic error that may lead to confusion

Inada Naoki songofacandy at gmail.com
Thu Aug 22 02:46:33 EDT 2019


This is a mathematic representation.
https://en.wikipedia.org/wiki/Interval_(mathematics)

[0, 4] -- 0 ≦ x ≦ 4
(0, 4) -- 0 < x < 4
[0, 4) -- 0 ≦ x < 4


On Thu, Aug 22, 2019 at 5:51 AM Neil Millikin <neil.millikin at gmail.com> wrote:
>
> Perhaps trivial, but I belive that on page https://docs.python.org/2/library/random.html
>
> "Return the next random floating point number in the range [0.0, 1.0).”   —  (one bracket one paren)
>
>   should read      "range [0.0, 1.0].”  — (both with brackets)
> or perhaps      "range (0.0, 1.0).”  —  (both with parens)
>
>
>
> screenshot of online docs:
>
> _______________________________________________
> docs mailing list
> docs at python.org
> https://mail.python.org/mailman/listinfo/docs



-- 
Inada Naoki  <songofacandy at gmail.com>


More information about the docs mailing list