commit | c262a1f51ce89dbea4aeb072cf631686c47ed97f | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Dec 30 21:59:55 2002 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Dec 30 21:59:55 2002 +0000 |
tree | 2fafc96b5f9808e59c2448f793e082ba607d04d1 | |
parent | e39a80c362869a4262d7af78be365b38c57ae904 [diff] |
Add __all__. (Brett Cannon.)
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 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