From 9154cd1320f537cd3785a28a2a5c112bd4ce5527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rousset?= Date: Wed, 18 May 2016 15:43:33 +0200 Subject: [PATCH] type `errors` in codecs.EncodedFile (#208) --- stdlib/3/codecs.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/codecs.pyi b/stdlib/3/codecs.pyi index 94b33ddcd..3f1a54696 100644 --- a/stdlib/3/codecs.pyi +++ b/stdlib/3/codecs.pyi @@ -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]: