diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2008-09-13 01:57:25 +0000 |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2008-09-13 01:57:25 +0000 |
commit | a0cb28b9290a93bfb5c4b842d3a50f3f3352d243 (patch) | |
tree | 3964ce96dec51e47a6185426ab8735f82e0dd3a7 /Demo/threads | |
parent | ec6a6118c894aa0d6e7712bd7559fb4c41b3648b (diff) | |
download | cpython-a0cb28b9290a93bfb5c4b842d3a50f3f3352d243.tar.gz |
Update uses of string exceptions
Diffstat (limited to 'Demo/threads')
-rw-r--r-- | Demo/threads/Coroutine.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/threads/Coroutine.py b/Demo/threads/Coroutine.py index 4cc65f7bf8..5de2b62d1b 100644 --- a/Demo/threads/Coroutine.py +++ b/Demo/threads/Coroutine.py @@ -93,8 +93,8 @@ class _CoEvent: self.e.wait() self.e.clear() -Killed = 'Coroutine.Killed' -EarlyExit = 'Coroutine.EarlyExit' +class Killed(Exception): pass +class EarlyExit(Exception): pass class Coroutine: def __init__(self): |