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 @@ -67,16 +67,15 @@ class RangeIndex(_IndexSubclassBase[int, np.int64]):
6767 def size (self ) -> int : ...
6868 def all (self , * args : Any , ** kwargs : Any ) -> bool : ...
6969 def any (self , * args : Any , ** kwargs : Any ) -> bool : ...
70- @overload
71- def union ( # type: ignore[override]
70+ @overload # type: ignore[override]
71+ def union (
7272 self , other : Sequence [int ] | Index [int ] | Self , sort : bool | None = None
7373 ) -> Index [int ] | Self : ...
7474 @overload
75- def union ( # type: ignore[override]
75+ def union (
7676 self , other : Sequence [HashableT ] | Index , sort : bool | None = None
7777 ) -> Index : ...
78- @overload # type: ignore[override]
79- # pyrefly: ignore # bad-override
78+ @overload # type: ignore[override] # pyrefly: ignore[bad-override]
8079 def __getitem__ (
8180 self ,
8281 idx : slice | np_ndarray_anyint | Sequence [int ] | Index | MaskType ,
You can’t perform that action at this time.
0 commit comments