fix bugs in cStringIO

This commit is contained in:
Matthias Kramm
2015-09-30 15:38:01 -07:00
parent 85bc37652a
commit dec2b91a7d

View File

@@ -24,13 +24,12 @@ class StringIO(IO[str]):
def truncate(self, size: int = None) -> int:
raise IOError()
def writable(self) -> bool: ...
def writelines(self, lines: Iterable[str]) -> None: ...
def next(self) -> str: ...
def __iter__(self) -> "InputType": ...
def __enter__(self) -> Any: ...
def __exit__(self, exc_type: type, exc_val: Any, exc_tb: Any) -> Any: ...
# only StringO:
def reset() -> None: ...
def reset(self) -> None: ...
def write(self, b: Union[str, unicode]) -> None: ...
def writelines(self, lines: Iterable[Union[str, unicode]]) -> None: ...