add pytz.ZERO and pytz.HOUR (#2180)

https://github.com/stub42/pytz/blob/master/src/pytz/__init__.py#L187
This commit is contained in:
Jelle Zijlstra
2018-06-11 11:27:34 -07:00
committed by Guido van Rossum
parent 46a59fc9b1
commit 764ee4eeec

View File

@@ -20,8 +20,10 @@ class _UTCclass(datetime.tzinfo):
def localize(self, dt: datetime.datetime, is_dst: bool = ...) -> datetime.datetime: ...
def normalize(self, dt: datetime.datetime, is_dst: bool = ...) -> datetime.datetime: ...
utc = ... # type: _UTCclass
UTC = ... # type: _UTCclass
utc: _UTCclass
UTC: _UTCclass
ZERO: datetime.timedelta
HOUR: datetime.timedelta
class _BaseTzInfo(datetime.tzinfo):