Skip to content

Commit 5ab58f3

Browse files
authored
Update cmd.py
1 parent 5cbc178 commit 5ab58f3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

git/cmd.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -701,8 +701,7 @@ def __next__(self) -> bytes:
701701

702702
return line
703703

704-
def next(self) -> bytes:
705-
return next(self)
704+
next = __next__
706705

707706
def __del__(self) -> None:
708707
bytes_left = self._size - self._nbr

0 commit comments

Comments
 (0)