bpo-29617: Remove Python 3.3 support from asyncio (GH-232)

This commit is contained in:
INADA Naoki 2017-04-25 10:57:18 +09:00 committed by GitHub
parent f6448e5d65
commit 3e2ad8ec61
12 changed files with 65 additions and 223 deletions

View file

@ -1,7 +1,5 @@
"""Abstract Transport class."""
from asyncio import compat
__all__ = ['BaseTransport', 'ReadTransport', 'WriteTransport',
'Transport', 'DatagramTransport', 'SubprocessTransport',
]
@ -104,7 +102,7 @@ class WriteTransport(BaseTransport):
The default implementation concatenates the arguments and
calls write() on the result.
"""
data = compat.flatten_list_bytes(list_of_data)
data = b''.join(list_of_data)
self.write(data)
def write_eof(self):