make io.IncrementalNewlineDecoder concrete (#1489)

Part of #1476
This commit is contained in:
Jelle Zijlstra
2017-07-19 10:28:25 -07:00
committed by Łukasz Langa
parent 74966bacd9
commit 32d9c8cb8f

View File

@@ -1,5 +1,3 @@
# Stubs for io
from typing import (
List, BinaryIO, TextIO, Iterator, Union, Optional, Callable, Tuple, Any, IO, Iterable
)
@@ -251,4 +249,5 @@ class StringIO(TextIOWrapper):
def getvalue(self) -> str: ...
def __enter__(self) -> 'StringIO': ...
class IncrementalNewlineDecoder(codecs.IncrementalDecoder): ...
class IncrementalNewlineDecoder(codecs.IncrementalDecoder):
def decode(self, input: codecs._encoded, final: bool = ...) -> codecs._decoded: ...