summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2023-02-12 15:50:06 +0000
committerGitHub <noreply@github.com>2023-02-12 15:50:06 +0000
commit5ab58f3a5c8b1b50a73104ddc048fd9f6b663b0b (patch)
treef7c7b41ad01f4c16fbc43f29743896be328dc00f
parent5cbc1782e79783fbfedf5783fe52616e397916df (diff)
downloadgitpython-5ab58f3a5c8b1b50a73104ddc048fd9f6b663b0b.tar.gz
Update 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