summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-01-17 08:07:05 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-01-17 08:07:05 (GMT)
commitd59f4572798e473d3ed781a7ef615b0967f5e4c3 (patch)
tree653e1ec21ae6634c11e0d63549df3ba1bbcee056 /Doc
parent2b3ba58bf4f2113aa0a8eca80ef49be3cb3757e9 (diff)
downloadcpython-d59f4572798e473d3ed781a7ef615b0967f5e4c3.zip
cpython-d59f4572798e473d3ed781a7ef615b0967f5e4c3.tar.gz
cpython-d59f4572798e473d3ed781a7ef615b0967f5e4c3.tar.bz2
Note versionadded.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/queue.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/queue.rst b/Doc/library/queue.rst
index 86bcaae..f6765a5 100644
--- a/Doc/library/queue.rst
+++ b/Doc/library/queue.rst
@@ -36,6 +36,8 @@ The :mod:`Queue` module defines the following classes and exceptions:
block once this size has been reached, until queue items are consumed. If
*maxsize* is less than or equal to zero, the queue size is infinite.
+ .. versionadded:: 2.6
+
.. class:: PriorityQueue(maxsize)
Constructor for a priority queue. *maxsize* is an integer that sets the upperbound
@@ -47,6 +49,8 @@ The :mod:`Queue` module defines the following classes and exceptions:
one returned by ``sorted(list(entries))[0]``). A typical pattern for entries
is a tuple in the form: ``(priority_number, data)``.
+ .. versionadded:: 2.6
+
.. exception:: Empty
Exception raised when non-blocking :meth:`get` (or :meth:`get_nowait`) is called