diff Lib/threading.py @ 26883:2133cf355bfc legacy-trunk

Add __all__. (Brett Cannon.)
author Guido van Rossum <guido@python.org>
date Mon, 30 Dec 2002 21:59:55 +0000
parents 2b0e815c0b30
children 7ea7637341d0
line wrap: on
line diff
--- a/Lib/threading.py	Mon Dec 30 21:28:52 2002 +0000
+++ b/Lib/threading.py	Mon Dec 30 21:59:55 2002 +0000
@@ -7,6 +7,8 @@
 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