diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-06-01 01:17:17 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-06-01 01:17:17 (GMT) |
commit | b5fc749c8b809f8ebab74cebff4153880236ca33 (patch) | |
tree | bd9b6579188952646e4b4699857b5d0d43fc7b21 /Lib/threading.py | |
parent | d87eb73f32d9963d1293de702c28ae81b50c623e (diff) | |
download | cpython-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/threading.py')
-rw-r--r-- | Lib/threading.py | 1 |
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 |