We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c84dde2 commit 5cbc178Copy full SHA for 5cbc178
git/cmd.py
@@ -695,15 +695,15 @@ def __iter__(self) -> "Git.CatFileContentStream":
695
return self
696
697
def __next__(self) -> bytes:
698
- return next(self)
699
-
700
- def next(self) -> bytes:
701
line = self.readline()
702
if not line:
703
raise StopIteration
704
705
return line
706
+ def next(self) -> bytes:
+ return next(self)
+
707
def __del__(self) -> None:
708
bytes_left = self._size - self._nbr
709
if bytes_left:
0 commit comments