diff options
author | Julien Palard <julien@palard.fr> | 2021-05-03 09:20:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-03 09:20:54 (GMT) |
commit | 440c0257262fec6f519bb81e49f1a4f341aeed66 (patch) | |
tree | 8fd5f3ec6ffebee80077e1fc2c3ed61dbdf75dba /Doc | |
parent | 4ffd6fd2f13b3a7d32d41f64c38c455d491d4ca6 (diff) | |
download | cpython-440c0257262fec6f519bb81e49f1a4f341aeed66.zip cpython-440c0257262fec6f519bb81e49f1a4f341aeed66.tar.gz cpython-440c0257262fec6f519bb81e49f1a4f341aeed66.tar.bz2 |
Doc: Fix random.uniform example comment. (GH-25784)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/random.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/random.rst b/Doc/library/random.rst index 9f037a1..e924127 100644 --- a/Doc/library/random.rst +++ b/Doc/library/random.rst @@ -419,7 +419,7 @@ Basic examples:: >>> random() # Random float: 0.0 <= x < 1.0 0.37444887175646646 - >>> uniform(2.5, 10.0) # Random float: 2.5 <= x < 10.0 + >>> uniform(2.5, 10.0) # Random float: 2.5 <= x <= 10.0 3.1800146073117523 >>> expovariate(1 / 5) # Interval between arrivals averaging 5 seconds |