[Python-checkins] r46820 - python/trunk/Lib/Queue.py

skip.montanaro python-checkins at python.org
Sat Jun 10 16:09:11 CEST 2006


Author: skip.montanaro
Date: Sat Jun 10 16:09:11 2006
New Revision: 46820
Modified:
 python/trunk/Lib/Queue.py
Log:
document the class, not its initializer
Modified: python/trunk/Lib/Queue.py
==============================================================================
--- python/trunk/Lib/Queue.py	(original)
+++ python/trunk/Lib/Queue.py	Sat Jun 10 16:09:11 2006
@@ -14,11 +14,11 @@
 pass
 
 class Queue:
- def __init__(self, maxsize=0):
- """Initialize a queue object with a given maximum size.
+ """Create a queue object with a given maximum size.
 
- If maxsize is <= 0, the queue size is infinite.
- """
+ If maxsize is <= 0, the queue size is infinite.
+ """
+ def __init__(self, maxsize=0):
 try:
 import threading
 except ImportError:


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /