summaryrefslogtreecommitdiffstats
path: root/Lib/asyncore.py
diff options
context:
space:
mode:
authorJosiah Carlson <josiah.carlson@gmail.com>2008-09-07 03:53:58 (GMT)
committerJosiah Carlson <josiah.carlson@gmail.com>2008-09-07 03:53:58 (GMT)
commit1680b8c16cacb043df85f312074b684b810f8afe (patch)
treeb5fa52fd1c46e8d8e094e260b0e93c237d5608be /Lib/asyncore.py
parenta853a89dc3c57941a15a7463cf59dfad775a7e5f (diff)
downloadcpython-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.py2
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: