diff options
-rw-r--r-- | Lib/Queue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/Queue.py b/Lib/Queue.py index 79c4880..e0e9693 100644 --- a/Lib/Queue.py +++ b/Lib/Queue.py @@ -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. |