Doc: Fix random.uniform example comment. (GH-25784)

This commit is contained in:
Julien Palard 2021-05-03 11:20:54 +02:00 committed by GitHub
parent 4ffd6fd2f1
commit 440c025726
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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