Fix StringIO stub for Python 3 (#1275)

This commit is contained in:
Yusuke Miyazaki authored and Matthias Kramm committed 2017-05-19 17:02:57 -07:00
1 parent 4ab29832a2
commit c19e266dcf
1 file changed
+1
+1
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): ...