diff options
author | INADA Naoki <methane@users.noreply.github.com> | 2017-04-25 01:57:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-25 01:57:18 (GMT) |
commit | 3e2ad8ec61a322370a6fbdfb2209cf74546f5e08 (patch) | |
tree | 0285efcc8b8d9b7215e4b8dbe106960187b1e628 /Lib/asyncio/transports.py | |
parent | f6448e5d65c349576df6e83b8324b9c208e77615 (diff) | |
download | cpython-3e2ad8ec61a322370a6fbdfb2209cf74546f5e08.zip cpython-3e2ad8ec61a322370a6fbdfb2209cf74546f5e08.tar.gz cpython-3e2ad8ec61a322370a6fbdfb2209cf74546f5e08.tar.bz2 |
bpo-29617: Remove Python 3.3 support from asyncio (GH-232)
Diffstat (limited to 'Lib/asyncio/transports.py')
-rw-r--r-- | Lib/asyncio/transports.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/asyncio/transports.py b/Lib/asyncio/transports.py index 0db0875..a94079f 100644 --- a/Lib/asyncio/transports.py +++ b/Lib/asyncio/transports.py @@ -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): |