summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-06-01 01:17:17 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2000-06-01 01:17:17 (GMT)
commitb5fc749c8b809f8ebab74cebff4153880236ca33 (patch)
treebd9b6579188952646e4b4699857b5d0d43fc7b21 /Lib
parentd87eb73f32d9963d1293de702c28ae81b50c623e (diff)
downloadcpython-b5fc749c8b809f8ebab74cebff4153880236ca33.zip
cpython-b5fc749c8b809f8ebab74cebff4153880236ca33.tar.gz
cpython-b5fc749c8b809f8ebab74cebff4153880236ca33.tar.bz2
patch from Charles Waldman--
define ThreadError (== thread.error); docs should be updated, too
Diffstat (limited to 'Lib')
-rw-r--r--Lib/threading.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/threading.py b/Lib/threading.py
index ded573a..fb2eb21 100644
--- a/Lib/threading.py
+++ b/Lib/threading.py
@@ -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