mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
add pytz.ZERO and pytz.HOUR (#2180)
https://github.com/stub42/pytz/blob/master/src/pytz/__init__.py#L187
This commit is contained in:
committed by
Guido van Rossum
parent
46a59fc9b1
commit
764ee4eeec
6
third_party/2and3/pytz/__init__.pyi
vendored
6
third_party/2and3/pytz/__init__.pyi
vendored
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user