Show More
@@ -60,6 +60,7 b' from .utils import (' | |||
|
60 | 60 | |
|
61 | 61 | if pycompat.TYPE_CHECKING: |
|
62 | 62 | from typing import ( |
|
63 | Iterable, | |
|
63 | 64 | Iterator, |
|
64 | 65 | List, |
|
65 | 66 | Optional, |
@@ -2910,7 +2911,7 b' def iterfile(fp):' | |||
|
2910 | 2911 | |
|
2911 | 2912 | |
|
2912 | 2913 | def iterlines(iterator): |
|
2913 |
# type: (Itera |
|
|
2914 | # type: (Iterable[bytes]) -> Iterator[bytes] | |
|
2914 | 2915 | for chunk in iterator: |
|
2915 | 2916 | for line in chunk.splitlines(): |
|
2916 | 2917 | yield line |
General Comments 0
You need to be logged in to leave comments.
Login now