Merge pull request #322 from amitsaha/stringio_len

stdlib: StringIO - Add len attribute issue #316
This commit is contained in:
Matthias Kramm
2016-06-30 05:52:17 -07:00
committed by GitHub

View File

@@ -5,6 +5,7 @@ from typing import Any, IO, AnyStr, Iterator, Iterable, Generic, List
class StringIO(IO[AnyStr], Generic[AnyStr]):
closed = ... # type: bool
softspace = ... # type: int
len = ... # type: int
def __init__(self, buf: AnyStr = ...) -> None: ...
def __iter__(self) -> Iterator[AnyStr]: ...
def next(self) -> AnyStr: ...