summaryrefslogtreecommitdiffstats
path: root/Lib/threading.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-12-30 21:59:55 (GMT)
committerGuido van Rossum <guido@python.org>2002-12-30 21:59:55 (GMT)
commitc262a1f51ce89dbea4aeb072cf631686c47ed97f (patch)
tree2fafc96b5f9808e59c2448f793e082ba607d04d1 /Lib/threading.py
parente39a80c362869a4262d7af78be365b38c57ae904 (diff)
downloadcpython-c262a1f51ce89dbea4aeb072cf631686c47ed97f.zip
cpython-c262a1f51ce89dbea4aeb072cf631686c47ed97f.tar.gz
cpython-c262a1f51ce89dbea4aeb072cf631686c47ed97f.tar.bz2
Add __all__. (Brett Cannon.)
Diffstat (limited to 'Lib/threading.py')
-rw-r--r--Lib/threading.py2
1 files changed, 2 insertions, 0 deletions
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