From ac350c1e2813046128aac8c7f9b8874601a045af Mon Sep 17 00:00:00 2001 From: Peter Hinch Date: Sat, 3 Nov 2018 08:07:11 +0000 Subject: [PATCH] Fix comment in client_w.py --- uasyncio_iostream/poll/client_w.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uasyncio_iostream/poll/client_w.py b/uasyncio_iostream/poll/client_w.py index cb5c943..9d887a0 100644 --- a/uasyncio_iostream/poll/client_w.py +++ b/uasyncio_iostream/poll/client_w.py @@ -24,8 +24,8 @@ async def run(): # On ESP8266 if another task closes the socket the poll object # never triggers. uasyncio expects it to trigger with POLLHUP or # (POLLOUT & POLLERR or POLLOUT & POLLHUP) - # If server fails gets OSError rather than above response. - else: # But on Unix server failure or socket closure produces ev == 32 + # If server fails gets OSError on both platforms. + else: # But on Unix socket closure produces ev == 32 print('Terminating event:', ev) # What is 32?? ok = False break