summaryrefslogtreecommitdiff
path: root/git/cmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/cmd.py')
-rw-r--r--git/cmd.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/git/cmd.py b/git/cmd.py
index 5dd8dd5c..dfce9024 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -701,8 +701,7 @@ class Git(LazyMixin):
return line
- def next(self) -> bytes:
- return next(self)
+ next = __next__
def __del__(self) -> None:
bytes_left = self._size - self._nbr