From: Julien Palard Date: Mon, 3 May 2021 09:20:54 +0000 (+0200) Subject: Doc: Fix random.uniform example comment. (GH-25784) X-Git-Tag: v3.10.0b1~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=440c0257262fec6f519bb81e49f1a4f341aeed66;p=thirdparty%2FPython%2Fcpython.git Doc: Fix random.uniform example comment. (GH-25784) --- diff --git a/Doc/library/random.rst b/Doc/library/random.rst index 9f037a1a822a..e924127d8b82 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