diff --git a/stdlib/2.7/datetime.pyi b/stdlib/2.7/datetime.pyi index edb1eaee0..44699f306 100644 --- a/stdlib/2.7/datetime.pyi +++ b/stdlib/2.7/datetime.pyi @@ -108,9 +108,9 @@ class timedelta(SupportsAbs[timedelta]): max = ... # type: timedelta resolution = ... # type: timedelta - def __init__(self, days: int = ..., seconds: int = ..., microseconds: int = ..., - milliseconds: int = ..., minutes: int = ..., hours: int = ..., - weeks: int = ...) -> None: ... + def __init__(self, days: float = ..., seconds: float = ..., microseconds: float = ..., + milliseconds: float = ..., minutes: float = ..., hours: float = ..., + weeks: float = ...) -> None: ... @property def days(self) -> int: ... diff --git a/stdlib/3/datetime.pyi b/stdlib/3/datetime.pyi index fd84b95fe..4d8efb8b8 100644 --- a/stdlib/3/datetime.pyi +++ b/stdlib/3/datetime.pyi @@ -107,9 +107,9 @@ class timedelta(SupportsAbs[timedelta]): max = ... # type: timedelta resolution = ... # type: timedelta - def __init__(self, days: int = ..., seconds: int = ..., microseconds: int = ..., - milliseconds: int = ..., minutes: int = ..., hours: int = ..., - weeks: int = ...) -> None: ... + def __init__(self, days: float = ..., seconds: float = ..., microseconds: float = ..., + milliseconds: float = ..., minutes: float = ..., hours: float = ..., + weeks: float = ...) -> None: ... @property def days(self) -> int: ...