diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-11-02 04:27:17 +0000 |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-11-02 04:27:17 +0000 |
commit | e56a9191000d2ff15d7550b9c852fa6dee9b8f50 (patch) | |
tree | 20b3d1d4f881f7c9e9b3549f79719497070b530a /Lib/asyncio/streams.py | |
parent | 9785261d68f62ce33968d15c7a0f10f1f8209807 (diff) | |
parent | d2ad5718ad955a13cf570bacad1d7800d995da33 (diff) | |
download | cpython-git-e56a9191000d2ff15d7550b9c852fa6dee9b8f50.tar.gz |
Issue #25523: Merge a-to-an corrections from 3.5
Diffstat (limited to 'Lib/asyncio/streams.py')
-rw-r--r-- | Lib/asyncio/streams.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/streams.py b/Lib/asyncio/streams.py index fb786ed864..64d10203d2 100644 --- a/Lib/asyncio/streams.py +++ b/Lib/asyncio/streams.py @@ -255,7 +255,7 @@ class StreamWriter: def __init__(self, transport, protocol, reader, loop): self._transport = transport self._protocol = protocol - # drain() expects that the reader has a exception() method + # drain() expects that the reader has an exception() method assert reader is None or isinstance(reader, StreamReader) self._reader = reader self._loop = loop |