Skip to content

Commit 3417725

Browse files
committed
change tuple[ScalarT,...] to tuple[Scalar, ...]
1 parent fb51203 commit 3417725

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas-stubs/core/frame.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class _LocIndexerFrame(_LocIndexer):
167167
def __getitem__(
168168
self,
169169
idx: tuple[
170-
int | StrLike | tuple[ScalarT, ...], int | StrLike | tuple[ScalarT, ...]
170+
int | StrLike | tuple[Scalar, ...], int | StrLike | tuple[Scalar, ...]
171171
],
172172
) -> Scalar: ...
173173
@overload

pandas-stubs/core/indexing.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ from pandas._typing import (
1515
)
1616

1717
_IndexSliceTuple: TypeAlias = tuple[
18-
Union[Index, MaskType, Scalar, list[ScalarT], slice | tuple[ScalarT, ...]], ...
18+
Union[Index, MaskType, Scalar, list[ScalarT], slice | tuple[Scalar, ...]], ...
1919
]
2020

2121
_IndexSliceUnion: TypeAlias = Union[slice, _IndexSliceTuple]

0 commit comments

Comments
 (0)