diff --git a/stdlib/2.7/datetime.pyi b/stdlib/2.7/datetime.pyi index 6d3ce6517..30651f2bf 100644 --- a/stdlib/2.7/datetime.pyi +++ b/stdlib/2.7/datetime.pyi @@ -181,7 +181,7 @@ class datetime(object): @classmethod def fromordinal(cls, n: int) -> datetime: ... @classmethod - def now(cls, tz: timezone = ...) -> datetime: ... + def now(cls, tz: _tzinfo = ...) -> datetime: ... @classmethod def utcnow(cls) -> datetime: ... @classmethod diff --git a/stdlib/3/datetime.pyi b/stdlib/3/datetime.pyi index c0ee98b47..6e0294f8a 100644 --- a/stdlib/3/datetime.pyi +++ b/stdlib/3/datetime.pyi @@ -181,7 +181,7 @@ class datetime: @classmethod def fromordinal(cls, n: int) -> datetime: ... @classmethod - def now(cls, tz: timezone = ...) -> datetime: ... + def now(cls, tz: _tzinfo = ...) -> datetime: ... @classmethod def utcnow(cls) -> datetime: ... @classmethod