[Python-checkins] r60019 - python/trunk/Doc/library/queue.rst
raymond.hettinger
python-checkins at python.org
Thu Jan 17 09:07:05 CET 2008
Author: raymond.hettinger
Date: Thu Jan 17 09:07:05 2008
New Revision: 60019
Modified:
python/trunk/Doc/library/queue.rst
Log:
Note versionadded.
Modified: python/trunk/Doc/library/queue.rst
==============================================================================
--- python/trunk/Doc/library/queue.rst (original)
+++ python/trunk/Doc/library/queue.rst Thu Jan 17 09:07:05 2008
@@ -36,6 +36,8 @@
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 @@
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
More information about the Python-checkins
mailing list