aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/asyncio/selector_events.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-02-26 17:35:30 +0100
committerVictor Stinner <victor.stinner@gmail.com>2014-02-26 17:35:30 +0100
commitc89c8a7be97b62ffe5b974482bdc7208b1665fff (patch)
treee0b76f1460a3f19635f84ef10e498f55de312a34 /Lib/asyncio/selector_events.py
parent984689821d757c080cd08eeae8f20fe58bfd5b6f (diff)
downloadcpython-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.py3
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