Skip to content

Commit 71f26d4

Browse files
committed
mypy
1 parent 025a750 commit 71f26d4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

pandas-stubs/core/indexes/range.pyi

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,15 @@ class RangeIndex(_IndexSubclassBase[int, np.int64]):
6868
def size(self) -> int: ...
6969
def all(self, *args: Any, **kwargs: Any) -> bool: ...
7070
def any(self, *args: Any, **kwargs: Any) -> bool: ...
71-
@overload
72-
def union( # type: ignore[override]
71+
@overload # type: ignore[override]
72+
def union(
7373
self, other: Sequence[int] | Index[int] | Self, sort: bool | None = None
7474
) -> Index[int] | Self: ...
7575
@overload
76-
def union( # type: ignore[override]
76+
def union(
7777
self, other: Sequence[HashableT] | Index, sort: bool | None = None
7878
) -> Index: ...
79-
@overload # type: ignore[override]
80-
# pyrefly: ignore # bad-override
79+
@overload # type: ignore[override] # pyrefly: ignore[bad-override]
8180
def __getitem__(
8281
self,
8382
idx: slice | np_ndarray_anyint | Sequence[int] | Index | MaskType,

0 commit comments

Comments
 (0)