Fix StringIO stub for Python 3 (#1275)

This commit is contained in:
Yusuke Miyazaki
2017-05-20 09:02:57 +09:00
committed by Matthias Kramm
parent 4ab29832a2
commit c19e266dcf

View File

@@ -255,5 +255,6 @@ class StringIO(TextIOWrapper):
newline: Optional[str] = ...) -> None: ...
name = ... # type: str
def getvalue(self) -> str: ...
def __enter__(self) -> 'StringIO': ...
class IncrementalNewlineDecoder(codecs.IncrementalDecoder): ...