summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2006-06-10 14:09:11 (GMT)
committerSkip Montanaro <skip@pobox.com>2006-06-10 14:09:11 (GMT)
commit86116e2b75ca86363105b9788bcab1309098ff6c (patch)
tree4c4b09adadd5736f79e753c491399ef6c25351d8 /Lib
parent0e8bd7e1ccf7f47bc0bb920af899c77669016d3d (diff)
downloadcpython-86116e2b75ca86363105b9788bcab1309098ff6c.zip
cpython-86116e2b75ca86363105b9788bcab1309098ff6c.tar.gz
cpython-86116e2b75ca86363105b9788bcab1309098ff6c.tar.bz2
document the class, not its initializer
Diffstat (limited to 'Lib')
-rw-r--r--Lib/Queue.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/Queue.py b/Lib/Queue.py
index 51ad354..0f80584 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: