]> granicus.if.org Git - python/commitdiff
add old names back into __all__
authorBenjamin Peterson <benjamin@python.org>
Wed, 11 Jun 2008 18:02:31 +0000 (18:02 +0000)
committerBenjamin Peterson <benjamin@python.org>
Wed, 11 Jun 2008 18:02:31 +0000 (18:02 +0000)
Lib/threading.py

index b6f0375bcd4c6bfc75ebe6bb184c00bca01aa38f..bfca44c065dfca47b9d62172d1e30c679aedd3a6 100644 (file)
@@ -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']