From 2e555c81b8393e2f9560126c0935bda641287ddd Mon Sep 17 00:00:00 2001 From: Amit Saha Date: Thu, 30 Jun 2016 18:52:32 +1000 Subject: [PATCH] stdlib: StringIO - Add len attribute issue #316 --- stdlib/2.7/StringIO.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/2.7/StringIO.pyi b/stdlib/2.7/StringIO.pyi index 22f7a02a5..3c90129bd 100644 --- a/stdlib/2.7/StringIO.pyi +++ b/stdlib/2.7/StringIO.pyi @@ -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: ...