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 (
1515 Generic ,
1616 Literal ,
1717 TypeVar ,
18- Union ,
1918 overload ,
2019)
2120
@@ -236,13 +235,10 @@ class _LocIndexerFrame(_LocIndexer):
236235 value : Scalar | NAType | NaTType | ArrayLike | Series | list | None ,
237236 ) -> None : ...
238237
239- TT = TypeVar ("TT" , bound = Union [ Literal [True ], Literal [ False ] ])
238+ _TT = TypeVar ("TT" , bound = Literal [True , False ])
240239
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 ]): ...
246242
247243class DataFrame (NDFrame , OpsMixin ):
248244 __hash__ : ClassVar [None ] # type: ignore[assignment]
You can’t perform that action at this time.
0 commit comments