Commit 7126ab17 authored by saghul's avatar saghul Committed by Denis Bilenko

Fixed Queue docstring

parent 02919c28
......@@ -42,11 +42,7 @@ __all__ = ['Queue', 'PriorityQueue', 'LifoQueue', 'JoinableQueue', 'Channel']
class Queue(object):
"""Create a queue object with a given maximum size.
If *maxsize* is less than zero or ``None``, the queue size is infinite.
``Queue(0)`` is a channel, that is, its :meth:`put` method always blocks until the
item is delivered. (This is unlike the standard :class:`Queue`, where 0 means
infinite size).
If *maxsize* is less than or equal to zero or ``None``, the queue size is infinite.
"""
def __init__(self, maxsize=None, items=None):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment