Skip to content

Commit 319d86a

Browse files
committed
int is subtype of float
1 parent 8fb7c7c commit 319d86a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas-stubs/_libs/tslibs/timedeltas.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class Timedelta(timedelta):
102102
value: int
103103
def __new__(
104104
cls,
105-
value: str | int | Timedelta | timedelta | np.timedelta64 | float = ...,
105+
value: str | float | Timedelta | timedelta | np.timedelta64 = ...,
106106
unit: TimeDeltaUnitChoices = ...,
107107
*,
108108
days: float | np.integer | np.floating = ...,

0 commit comments

Comments
 (0)