mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
bpo-29617: Remove Python 3.3 support from asyncio (GH-232)
This commit is contained in:
parent
f6448e5d65
commit
3e2ad8ec61
12 changed files with 65 additions and 223 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue