mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Add pytz.FixedOffset (#3393)
This commit is contained in:
committed by
Jelle Zijlstra
parent
5e9f66cb62
commit
b5b9a3959d
1
third_party/2and3/pytz/__init__.pyi
vendored
1
third_party/2and3/pytz/__init__.pyi
vendored
@@ -29,6 +29,7 @@ class NonExistentTimeError(InvalidTimeError): ...
|
||||
utc: _UTCclass
|
||||
UTC: _UTCclass
|
||||
def timezone(zone: str) -> Union[_UTCclass, _StaticTzInfo, _DstTzInfo]: ...
|
||||
def FixedOffset(offset: int) -> Union[_UTCclass, datetime.tzinfo]: ...
|
||||
|
||||
all_timezones: List[str]
|
||||
all_timezones_set: Set[str]
|
||||
|
||||
Reference in New Issue
Block a user