Skip to content

Commit 62a862d

Browse files
committed
Type ignore
1 parent 0181eb8 commit 62a862d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pandas/core/indexes/range.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ def __getitem__(self, key):
10551055
np_key = key.to_numpy(dtype=bool, na_value=False)
10561056
else:
10571057
np_key = np.asarray(key, dtype=bool)
1058-
check_array_indexer(self._range, np_key)
1058+
check_array_indexer(self._range, np_key) # type: ignore[arg-type]
10591059
# Short circuit potential _shallow_copy check
10601060
if np_key.all():
10611061
return self._simple_new(self._range, name=self.name)

0 commit comments

Comments
 (0)