Mercurial > cpython-lru_cache-weakref
diff Lib/Queue.py @ 1463:305748ebab43 legacy-trunk
Some minute changes.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 29 Dec 1993 15:33:08 +0000 |
| parents | 560ec7030817 |
| children | 4b2d8dc92db4 |
line wrap: on
line diff
--- a/Lib/Queue.py Tue Dec 28 21:36:50 1993 +0000 +++ b/Lib/Queue.py Wed Dec 29 15:33:08 1993 +0000 @@ -7,6 +7,7 @@ # Initialize a queue object with a given maximum size # (If maxsize is <= 0, the maximum size is infinite) def __init__(self, maxsize): + import thread self._init(maxsize) self.mutex = thread.allocate_lock() self.esema = thread.allocate_lock()
