diff --git a/stdlib/2.7/io.pyi b/stdlib/2.7/io.pyi index 68a1b2b6f..a39cd91e1 100644 --- a/stdlib/2.7/io.pyi +++ b/stdlib/2.7/io.pyi @@ -41,6 +41,7 @@ class BytesIO(BinaryIO): def read1(self) -> str: ... def __iter__(self) -> Iterator[str]: ... + def next(self) -> str: ... def __enter__(self) -> 'BytesIO': ... def __exit__(self, type, value, traceback) -> bool: ...