diff options
author | Guido van Rossum <guido@python.org> | 1998-05-20 17:05:52 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-05-20 17:05:52 (GMT) |
commit | b26a1b4e2b99f4473c2133a2206b782a7fa57932 (patch) | |
tree | c6fcbbac623adacff0117641975cc75d49f33da5 /Lib/threading.py | |
parent | 33d7f1a76c3544d2901492cfb6fc9db85f2dfbd6 (diff) | |
download | cpython-b26a1b4e2b99f4473c2133a2206b782a7fa57932.zip cpython-b26a1b4e2b99f4473c2133a2206b782a7fa57932.tar.gz cpython-b26a1b4e2b99f4473c2133a2206b782a7fa57932.tar.bz2 |
Use random instead of whrandom.
Diffstat (limited to 'Lib/threading.py')
-rw-r--r-- | Lib/threading.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/threading.py b/Lib/threading.py index 79319c1..d2ab9ed 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -549,7 +549,7 @@ _MainThread() def _test(): - import whrandom + import random class BoundedQueue(_Verbose): @@ -592,7 +592,7 @@ def _test(): self.quota = quota def run(self): - from whrandom import random + from random import random counter = 0 while counter < self.quota: counter = counter + 1 |