Skip to content

Commit 052ac7b

Browse files
simonjayhawkinsTomAugspurger
authored andcommitted
replace typvar in union
1 parent b760466 commit 052ac7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_typing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
PythonScalar = Union[str, int, float, bool]
3636
DatetimeLikeScalar = TypeVar("DatetimeLikeScalar", "Period", "Timestamp", "Timedelta")
37-
PandasScalar = Union[DatetimeLikeScalar, "Interval"]
37+
PandasScalar = Union["Period", "Timestamp", "Timedelta", "Interval"]
3838
Scalar = Union[PythonScalar, PandasScalar]
3939

4040
# other

0 commit comments

Comments
 (0)