mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
add old names back into __all__
This commit is contained in:
parent
fe22a456d5
commit
13f7382e0d
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,8 @@ from traceback import format_exc as _format_exc
|
|||
from collections import deque
|
||||
|
||||
# Rename some stuff so "from threading import *" is safe
|
||||
__all__ = ['active_count', 'Condition', 'current_thread', 'enumerate', 'Event',
|
||||
__all__ = ['activeCount', 'active_count', 'Condition', 'currentThread',
|
||||
'current_thread', 'enumerate', 'Event',
|
||||
'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Thread',
|
||||
'Timer', 'setprofile', 'settrace', 'local', 'stack_size']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue