From 0907e2cddab5e62a93114804b26e37a81105d099 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 12 Sep 2016 11:25:00 -0700 Subject: [PATCH] Add missing BytesIO.next(). --- stdlib/2.7/io.pyi | 1 + 1 file changed, 1 insertion(+) 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: ...