projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e39a80c
)
Add __all__. (Brett Cannon.)
author
Guido van Rossum
<guido@python.org>
Mon, 30 Dec 2002 21:59:55 +0000
(21:59 +0000)
committer
Guido van Rossum
<guido@python.org>
Mon, 30 Dec 2002 21:59:55 +0000
(21:59 +0000)
Lib/threading.py
patch
|
blob
|
history
diff --git
a/Lib/threading.py
b/Lib/threading.py
index 1e769a87976cdc469286348f2849bd8dd24d24f8..1d0ee919ddff156d3b72a5583b9f1eb83d2fc249 100644
(file)
--- 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