]> granicus.if.org Git - python/commitdiff
patch from Charles Waldman--
authorJeremy Hylton <jeremy@alum.mit.edu>
Thu, 1 Jun 2000 01:17:17 +0000 (01:17 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Thu, 1 Jun 2000 01:17:17 +0000 (01:17 +0000)
define ThreadError (== thread.error); docs should be updated, too

Lib/threading.py

index ded573a4c4f7d5a4ba857e2b6850fd289b4ae5ce..fb2eb21778bf3159459399747ac827116d68b86a 100644 (file)
@@ -18,6 +18,7 @@ del time
 _start_new_thread = thread.start_new_thread
 _allocate_lock = thread.allocate_lock
 _get_ident = thread.get_ident
+ThreadError = thread.error
 del thread
 
 _print_exc = traceback.print_exc