summaryrefslogtreecommitdiffstats
path: root/Lib/threading.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-08-02 18:05:47 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-08-02 18:05:47 (GMT)
commit7761b951db469106de297cda1aaa24a95d52d833 (patch)
treeccabf9f0e33223f0652e1418ea506bd69b5952c9 /Lib/threading.py
parentb1290a5295159207e86fc25457c14504768938c2 (diff)
downloadcpython-7761b951db469106de297cda1aaa24a95d52d833.zip
cpython-7761b951db469106de297cda1aaa24a95d52d833.tar.gz
cpython-7761b951db469106de297cda1aaa24a95d52d833.tar.bz2
add ThreadError to threading.__all__ (closes #12679)
Diffstat (limited to 'Lib/threading.py')
-rw-r--r--Lib/threading.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/threading.py b/Lib/threading.py
index 222e5d9..b663232 100644
--- a/Lib/threading.py
+++ b/Lib/threading.py
@@ -20,7 +20,7 @@ from _weakrefset import WeakSet
__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