From: Skip Montanaro Date: Sat, 10 Jun 2006 14:09:11 +0000 (+0000) Subject: document the class, not its initializer X-Git-Tag: v2.5b1~157 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=86116e2b75ca86363105b9788bcab1309098ff6c;p=python document the class, not its initializer --- diff --git a/Lib/Queue.py b/Lib/Queue.py index 51ad354260..0f80584b7a 100644 --- a/Lib/Queue.py +++ b/Lib/Queue.py @@ -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: