From 86116e2b75ca86363105b9788bcab1309098ff6c Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Sat, 10 Jun 2006 14:09:11 +0000 Subject: [PATCH] document the class, not its initializer --- Lib/Queue.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: -- 2.50.1