File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ from typing import (
15
15
Generic ,
16
16
Literal ,
17
17
TypeVar ,
18
- Union ,
19
18
overload ,
20
19
)
21
20
@@ -236,13 +235,10 @@ class _LocIndexerFrame(_LocIndexer):
236
235
value : Scalar | NAType | NaTType | ArrayLike | Series | list | None ,
237
236
) -> None : ...
238
237
239
- TT = TypeVar ("TT" , bound = Union [ Literal [True ], Literal [ False ] ])
238
+ _TT = TypeVar ("TT" , bound = Literal [True , False ])
240
239
241
- class DataFrameGroupByGen (DataFrameGroupBy [ByT ], Generic [ByT , TT ]):
242
- pass
243
-
244
- class SeriesGroupByGen (SeriesGroupBy , Generic [TT , ByT ]):
245
- pass
240
+ class DataFrameGroupByGen (DataFrameGroupBy [ByT ], Generic [ByT , _TT ]): ...
241
+ class SeriesGroupByGen (SeriesGroupBy , Generic [_TT , ByT ]): ...
246
242
247
243
class DataFrame (NDFrame , OpsMixin ):
248
244
__hash__ : ClassVar [None ] # type: ignore[assignment]
You can’t perform that action at this time.
0 commit comments