diff options
author | Josiah Carlson <josiah.carlson@gmail.com> | 2008-09-07 03:53:58 (GMT) |
---|---|---|
committer | Josiah Carlson <josiah.carlson@gmail.com> | 2008-09-07 03:53:58 (GMT) |
commit | 1680b8c16cacb043df85f312074b684b810f8afe (patch) | |
tree | b5fa52fd1c46e8d8e094e260b0e93c237d5608be /Lib/asyncore.py | |
parent | a853a89dc3c57941a15a7463cf59dfad775a7e5f (diff) | |
download | cpython-1680b8c16cacb043df85f312074b684b810f8afe.zip cpython-1680b8c16cacb043df85f312074b684b810f8afe.tar.gz cpython-1680b8c16cacb043df85f312074b684b810f8afe.tar.bz2 |
This fixes a small inconsistency between trunk and 3.0, closing bug 3764.
Diffstat (limited to 'Lib/asyncore.py')
-rw-r--r-- | Lib/asyncore.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 9cd4961..34e719a 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -102,7 +102,7 @@ def readwrite(obj, flags): if flags & (select.POLLERR | select.POLLNVAL): obj.handle_expt_event() if flags & select.POLLHUP: - obj.handle_close() + obj.handle_close_event() except (ExitNow, KeyboardInterrupt, SystemExit): raise except: |