summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/random.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/random.py b/Lib/random.py
index 37f7111..3ea369b 100644
--- a/Lib/random.py
+++ b/Lib/random.py
@@ -682,7 +682,7 @@ class Random(_random.Random):
bbb = alpha - LOG4
ccc = alpha + ainv
- while 1:
+ while True:
u1 = random()
if not 1e-7 < u1 < 0.9999999:
continue