Add __all__. (Brett Cannon.)
This commit is contained in:
parent
e39a80c362
commit
c262a1f51c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue