]> granicus.if.org Git - python/commitdiff
add ThreadError to threading.__all__ (closes #12679)
authorBenjamin Peterson <benjamin@python.org>
Tue, 2 Aug 2011 18:05:47 +0000 (13:05 -0500)
committerBenjamin Peterson <benjamin@python.org>
Tue, 2 Aug 2011 18:05:47 +0000 (13:05 -0500)
Lib/threading.py

index 222e5d992afdd0c5e9968d2154596e0fb4ddddb7..b6632327ce9bdc7714ba7322406e8248eacd8dff 100644 (file)
@@ -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