diff --git a/Lib/threading.py b/Lib/threading.py index 1e769a87976..1d0ee919ddf 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