mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix for AttributeError in test_asynchat.
This commit is contained in:
parent
064e4a6c4d
commit
c31bc9a498
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue