[Python-checkins] r81341 - in python/branches/release26-maint: Doc/library/queue.rst

georg.brandl python-checkins at python.org
Wed May 19 16:15:15 CEST 2010


Author: georg.brandl
Date: Wed May 19 16:15:15 2010
New Revision: 81341

Log:
Merged revisions 78463 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78463 | andrew.kuchling | 2010-02-26 14:22:50 +0100 (Fr, 26 Feb 2010) | 1 line
  
  #7407: specify default maxsize value; patch by Floris Bruynooghe
........


Modified:
   python/branches/release26-maint/   (props changed)
   python/branches/release26-maint/Doc/library/queue.rst

Modified: python/branches/release26-maint/Doc/library/queue.rst
==============================================================================
--- python/branches/release26-maint/Doc/library/queue.rst	(original)
+++ python/branches/release26-maint/Doc/library/queue.rst	Wed May 19 16:15:15 2010
@@ -26,14 +26,14 @@
 
 The :mod:`Queue` module defines the following classes and exceptions:
 
-.. class:: Queue(maxsize)
+.. class:: Queue(maxsize=0)
 
    Constructor for a FIFO queue.  *maxsize* is an integer that sets the upperbound
    limit on the number of items that can be placed in the queue.  Insertion will
    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.
 
-.. class:: LifoQueue(maxsize)
+.. class:: LifoQueue(maxsize=0)
 
    Constructor for a LIFO queue.  *maxsize* is an integer that sets the upperbound
    limit on the number of items that can be placed in the queue.  Insertion will
@@ -42,7 +42,7 @@
 
    .. versionadded:: 2.6
 
-.. class:: PriorityQueue(maxsize)
+.. class:: PriorityQueue(maxsize=0)
 
    Constructor for a priority queue.  *maxsize* is an integer that sets the upperbound
    limit on the number of items that can be placed in the queue.  Insertion will


More information about the Python-checkins mailing list