From c262a1f51ce89dbea4aeb072cf631686c47ed97f Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 30 Dec 2002 21:59:55 +0000 Subject: Add __all__. (Brett Cannon.) --- Lib/threading.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/threading.py b/Lib/threading.py index 1e769a8..1d0ee91 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -7,6 +7,8 @@ import traceback import StringIO # Rename some stuff so "from threading import *" is safe +__all__ = ['activeCount', 'Condition', 'currentThread', 'enumerate', 'Event', + 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Thread', 'Timer'] _sys = sys del sys -- cgit v0.12