Skip to content

Commit 1536342

Browse files
[3.9] Doc: Fix random.uniform example comment. (pythonGH-25784) (pythonGH-25843)
(cherry picked from commit 440c025) Co-authored-by: Julien Palard <julien@palard.fr> Automerge-Triggered-By: GH:JulienPalard
1 parent 7f7dc67 commit 1536342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/random.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ Basic examples::
409409
>>> random() # Random float: 0.0 <= x < 1.0
410410
0.37444887175646646
411411

412-
>>> uniform(2.5, 10.0) # Random float: 2.5 <= x < 10.0
412+
>>> uniform(2.5, 10.0) # Random float: 2.5 <= x <= 10.0
413413
3.1800146073117523
414414

415415
>>> expovariate(1 / 5) # Interval between arrivals averaging 5 seconds

0 commit comments

Comments
 (0)