From c31bc9a498a3f5a90a721999a8880790e40634cf Mon Sep 17 00:00:00 2001 From: Josiah Carlson Date: Fri, 11 Jul 2008 22:18:27 +0000 Subject: [PATCH] Fix for AttributeError in test_asynchat. --- Lib/asyncore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.40.0