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 8adcff5..99ae750 100644
--- a/Lib/random.py
+++ b/Lib/random.py
@@ -631,7 +631,7 @@ class WichmannHill(Random):
import time
a = int(time.time() * 256) # use fractional seconds
- if not isinstance(a, (int, int)):
+ if not isinstance(a, int):
a = hash(a)
a, x = divmod(a, 30268)