diff --git a/Lib/Queue.py b/Lib/Queue.py index 79c4880491c..e0e969332c3 100644 --- a/Lib/Queue.py +++ b/Lib/Queue.py @@ -15,7 +15,7 @@ class Full(Exception): 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.