diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-02-26 17:35:30 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-02-26 17:35:30 +0100 |
commit | c89c8a7be97b62ffe5b974482bdc7208b1665fff (patch) | |
tree | e0b76f1460a3f19635f84ef10e498f55de312a34 /Lib/asyncio/selector_events.py | |
parent | 984689821d757c080cd08eeae8f20fe58bfd5b6f (diff) | |
download | cpython-c89c8a7be97b62ffe5b974482bdc7208b1665fff.tar.gz cpython-c89c8a7be97b62ffe5b974482bdc7208b1665fff.zip |
asyncio/windows_events.py: use more revelant names to overlapped callbacks
For example: "finish_recv", not just "finish".
Diffstat (limited to 'Lib/asyncio/selector_events.py')
-rw-r--r-- | Lib/asyncio/selector_events.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/asyncio/selector_events.py b/Lib/asyncio/selector_events.py index aa427459b1c..70d8a9588fd 100644 --- a/Lib/asyncio/selector_events.py +++ b/Lib/asyncio/selector_events.py @@ -702,8 +702,7 @@ class _SelectorSslTransport(_SelectorTransport): if self._buffer: try: n = self._sock.send(self._buffer) - except (BlockingIOError, InterruptedError, - ssl.SSLWantWriteError): + except (BlockingIOError, InterruptedError, ssl.SSLWantWriteError): n = 0 except ssl.SSLWantReadError: n = 0 |