From d7265a267bce6556370a3966075fa508c2ec0e95 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Mon, 3 May 2021 11:20:54 +0200 Subject: [PATCH] Doc: Fix random.uniform example comment. (GH-25784) (cherry picked from commit 440c0257262fec6f519bb81e49f1a4f341aeed66) Co-authored-by: Julien Palard --- Doc/library/random.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/random.rst b/Doc/library/random.rst index 0e703251259aa7..f2d6749422a15a 100644 --- a/Doc/library/random.rst +++ b/Doc/library/random.rst @@ -409,7 +409,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