summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2003-07-01 05:34:27 (GMT)
committerBrett Cannon <bcannon@gmail.com>2003-07-01 05:34:27 (GMT)
commitb42bb5a88a646433d81461ebfe94db7cec57b585 (patch)
treeaa6e0c56e8eac610cba8e09b2b3c629e45d86fb4 /Lib
parent20def8bb19c35606ff928ee2d74181bdbb7fe5da (diff)
downloadcpython-b42bb5a88a646433d81461ebfe94db7cec57b585.zip
cpython-b42bb5a88a646433d81461ebfe94db7cec57b585.tar.gz
cpython-b42bb5a88a646433d81461ebfe94db7cec57b585.tar.bz2
Add __all__ .
Diffstat (limited to 'Lib')
-rw-r--r--Lib/Queue.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/Queue.py b/Lib/Queue.py
index 83a8318..980aee6 100644
--- a/Lib/Queue.py
+++ b/Lib/Queue.py
@@ -2,6 +2,8 @@
from time import time as _time, sleep as _sleep
+__all__ = ['Empty', 'Full', 'Queue']
+
class Empty(Exception):
"Exception raised by Queue.get(block=0)/get_nowait()."
pass