mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Merge pull request #322 from amitsaha/stringio_len
stdlib: StringIO - Add len attribute issue #316
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user