Skip to content

Commit

Permalink
Update cmd.py
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-wieser committed Feb 12, 2023
1 parent 5cbc178 commit 5ab58f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions git/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,8 +701,7 @@ def __next__(self) -> bytes:

return line

def next(self) -> bytes:
return next(self)
next = __next__

def __del__(self) -> None:
bytes_left = self._size - self._nbr
Expand Down

0 comments on commit 5ab58f3

Please sign in to comment.