[Python-checkins] cpython: add ThreadError to threading.__all__ (closes #12679)
benjamin.peterson
python-checkins at python.org
Tue Aug 2 20:06:28 CEST 2011
http://hg.python.org/cpython/rev/bbeda42ea6a8
changeset: 71701:bbeda42ea6a8
parent: 71696:01192d30365a
user: Benjamin Peterson <benjamin at python.org>
date: Tue Aug 02 13:05:47 2011 -0500
summary:
add ThreadError to threading.__all__ (closes #12679)
files:
Lib/threading.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/threading.py b/Lib/threading.py
--- a/Lib/threading.py
+++ b/Lib/threading.py
@@ -20,7 +20,7 @@
__all__ = ['active_count', 'Condition', 'current_thread', 'enumerate', 'Event',
'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Thread', 'Barrier',
- 'Timer', 'setprofile', 'settrace', 'local', 'stack_size']
+ 'Timer', 'ThreadError', 'setprofile', 'settrace', 'local', 'stack_size']
# Rename some stuff so "from threading import *" is safe
_start_new_thread = _thread.start_new_thread
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list