diff options
| author | Neal Norwitz <nnorwitz@gmail.com> | 2005-09-01 00:45:28 +0000 |
|---|---|---|
| committer | Neal Norwitz <nnorwitz@gmail.com> | 2005-09-01 00:45:28 +0000 |
| commit | 4ce69a5b06d230d513139ad0797bcc1b471f910c (patch) | |
| tree | d808ae4884d4e0b5d2beefa09ec97193115bfea4 /Lib/asyncore.py | |
| parent | 6203196c7c0d9d93593919ecee2625af2db6bc2c (diff) | |
| download | cpython-git-4ce69a5b06d230d513139ad0797bcc1b471f910c.tar.gz | |
No need to import exceptions, they are builtins
Diffstat (limited to 'Lib/asyncore.py')
| -rw-r--r-- | Lib/asyncore.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py index a2387a1a82..886c84545b 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -46,7 +46,6 @@ many of the difficult problems for you, making the task of building sophisticated high-performance network servers and clients a snap. """ -import exceptions import select import socket import sys @@ -61,7 +60,7 @@ try: except NameError: socket_map = {} -class ExitNow(exceptions.Exception): +class ExitNow(Exception): pass def read(obj): |
