mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
type errors in codecs.EncodedFile (#208)
This commit is contained in:
committed by
Jukka Lehtosalo
parent
bb5c93a217
commit
9154cd1320
@@ -68,7 +68,7 @@ def register(search_function: Callable[[str], CodecInfo]) -> None:
|
||||
def open(filename: str, mode: str = ..., encoding: str = ..., errors: str = ..., buffering: int = ...) -> StreamReaderWriter:
|
||||
...
|
||||
|
||||
def EncodedFile(file: BinaryIO, data_encoding: str, file_encoding: str = ..., errors = ...) -> 'StreamRecoder':
|
||||
def EncodedFile(file: BinaryIO, data_encoding: str, file_encoding: str = ..., errors: str = ...) -> 'StreamRecoder':
|
||||
...
|
||||
|
||||
def iterencode(iterator: Iterable[_decoded], encoding: str, errors: str = ...) -> Iterator[_encoded]:
|
||||
|
||||
Reference in New Issue
Block a user