From b42bb5a88a646433d81461ebfe94db7cec57b585 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Tue, 1 Jul 2003 05:34:27 +0000 Subject: [PATCH] Add __all__ . --- Lib/Queue.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.50.1