File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
pandas-stubs/core/indexes Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments