Use random instead of whrandom.

This commit is contained in:
Guido van Rossum 1998-05-20 17:05:52 +00:00
parent 33d7f1a76c
commit b26a1b4e2b
5 changed files with 18 additions and 18 deletions

View file

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