From: Brett Cannon Date: Tue, 1 Jul 2003 05:34:27 +0000 (+0000) Subject: Add __all__ . X-Git-Tag: v2.3c1~216 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b42bb5a88a646433d81461ebfe94db7cec57b585;p=python Add __all__ . --- diff --git a/Lib/Queue.py b/Lib/Queue.py index 83a8318f52..980aee619d 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