From 13f7382e0d4087e5aaa511819e20b5b08405a819 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 11 Jun 2008 18:02:31 +0000 Subject: [PATCH] add old names back into __all__ --- Lib/threading.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/threading.py b/Lib/threading.py index b6f0375bcd..bfca44c065 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -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'] -- 2.50.1