File size: 147 Bytes
fb5159d | 1 2 3 4 5 6 | from typing import BinaryIO, List
def read_to_unicode(obj: BinaryIO) -> List[str]:
return [line.decode("utf-8") for line in obj.readlines()]
|
fb5159d | 1 2 3 4 5 6 | from typing import BinaryIO, List
def read_to_unicode(obj: BinaryIO) -> List[str]:
return [line.decode("utf-8") for line in obj.readlines()]
|