stdlib: StringIO - Add len attribute issue #316

This commit is contained in:
Amit Saha
2016-06-30 18:52:32 +10:00
parent c84c138194
commit 2e555c81b8

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: ...