diff options
| author | Guido van Rossum <guido@python.org> | 2000-05-08 17:31:04 (GMT) |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2000-05-08 17:31:04 (GMT) |
| commit | aad6761ccea28e0a0da6761570b18adc72e01c37 (patch) | |
| tree | 731b55d5648f08e1bc755bcace1f836413cd8aae /Lib/dos-8x3/queue.py | |
| parent | 0b095bc0929fb43157019c50e3e680a29ec94a65 (diff) | |
| download | cpython-aad6761ccea28e0a0da6761570b18adc72e01c37.zip cpython-aad6761ccea28e0a0da6761570b18adc72e01c37.tar.gz cpython-aad6761ccea28e0a0da6761570b18adc72e01c37.tar.bz2 | |
The usual...
Diffstat (limited to 'Lib/dos-8x3/queue.py')
| -rwxr-xr-x | Lib/dos-8x3/queue.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/dos-8x3/queue.py b/Lib/dos-8x3/queue.py index 79c4880..cb04006 100755 --- a/Lib/dos-8x3/queue.py +++ b/Lib/dos-8x3/queue.py @@ -1,4 +1,4 @@ -# A multi-producer, multi-consumer queue. +"""A multi-producer, multi-consumer queue.""" # define this exception to be compatible with Python 1.5's class # exceptions, but also when -X option is used. @@ -15,7 +15,7 @@ except TypeError: Full = 'Queue.Full' class Queue: - def __init__(self, maxsize): + def __init__(self, maxsize=0): """Initialize a queue object with a given maximum size. If maxsize is <= 0, the queue size is infinite. |
