summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/asyncore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py
index 586358cff1..1a12255d62 100644
--- a/Lib/asyncore.py
+++ b/Lib/asyncore.py
@@ -101,7 +101,7 @@ def readwrite(obj, flags):
if flags & (select.POLLERR | select.POLLNVAL):
obj.handle_expt_event()
if flags & select.POLLHUP:
- obj.handle_close_event()
+ obj.handle_close()
except (ExitNow, KeyboardInterrupt, SystemExit):
raise
except: