mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
Add __all__. (Brett Cannon.)
This commit is contained in:
parent
e39a80c362
commit
c262a1f51c
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue