summaryrefslogtreecommitdiff
path: root/git/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/util.py')
-rw-r--r--git/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/util.py b/git/util.py
index edbd5f1e..05eeb4ad 100644
--- a/git/util.py
+++ b/git/util.py
@@ -971,7 +971,7 @@ class IterableList(list):
# END for each item
return list.__getattribute__(self, attr)
- def __getitem__(self, index: Union[int, slice, str]) -> Any:
+ def __getitem__(self, index: Union[int, slice, str]) -> Any: # type: ignore
if isinstance(index, int):
return list.__getitem__(self, index)
elif isinstance(index, slice):
@@ -983,7 +983,7 @@ class IterableList(list):
raise IndexError("No item found with id %r" % (self._prefix + index)) from e
# END handle getattr
- def __delitem__(self, index: Union[int, str, slice]) -> None:
+ def __delitem__(self, index: Union[int, str, slice]) -> None: # type: ignore
delindex = cast(int, index)
if not isinstance(index, int):