summaryrefslogtreecommitdiffstats
path: root/Lib/random.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/random.py')
-rw-r--r--Lib/random.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/random.py b/Lib/random.py
index 8b4c38e..568de88 100644
--- a/Lib/random.py
+++ b/Lib/random.py
@@ -349,7 +349,7 @@ class Random(_random.Random):
## -------------------- uniform distribution -------------------
def uniform(self, a, b):
- """Get a random number in the range [a, b)."""
+ "Get a random number in the range [a, b) or [a, b] depending on rounding."
return a + (b-a) * self.random()
## -------------------- triangular --------------------