From: Guido van Rossum Date: Mon, 30 Dec 2002 21:59:55 +0000 (+0000) Subject: Add __all__. (Brett Cannon.) X-Git-Tag: v2.3c1~2792 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c262a1f51ce89dbea4aeb072cf631686c47ed97f;p=thirdparty%2FPython%2Fcpython.git Add __all__. (Brett Cannon.) --- diff --git a/Lib/threading.py b/Lib/threading.py index 1e769a87976c..1d0ee919ddff 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