]> granicus.if.org Git - python/commitdiff
document the class, not its initializer
authorSkip Montanaro <skip@pobox.com>
Sat, 10 Jun 2006 14:09:11 +0000 (14:09 +0000)
committerSkip Montanaro <skip@pobox.com>
Sat, 10 Jun 2006 14:09:11 +0000 (14:09 +0000)
Lib/Queue.py

index 51ad354260874e593d8ed25c0fc6a30711306aa0..0f80584b7ae86d8e3a514eaa773d91f005b655c5 100644 (file)
@@ -14,11 +14,11 @@ class Full(Exception):
     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: