From b9342eca0a654933d9db2bf8fbe1b2a3be06f7ba Mon Sep 17 00:00:00 2001 From: Ryan Morshead Date: Sun, 6 Oct 2019 08:22:03 -0700 Subject: [PATCH] add IncrementalNewlineDecoder constructor (#3311) --- stdlib/3/io.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/3/io.pyi b/stdlib/3/io.pyi index ab32adc5f..351d5be86 100644 --- a/stdlib/3/io.pyi +++ b/stdlib/3/io.pyi @@ -206,4 +206,6 @@ class StringIO(TextIOWrapper): def __enter__(self) -> StringIO: ... class IncrementalNewlineDecoder(codecs.IncrementalDecoder): + def __init__(self, decoder: Optional[codecs.IncrementalDecoder], + translate: bool, errors: str = ...) -> None: ... def decode(self, input: Union[bytes, str], final: bool = ...) -> str: ...