summaryrefslogtreecommitdiffstats
path: root/Lib/asyncore.py
diff options
context:
space:
mode:
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 e06b3b4..1ef4896 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_event()
+ obj.handle_close()
except (ExitNow, KeyboardInterrupt, SystemExit):
raise
except: