mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 20:01:29 +08:00
Fixing timezone utc type (#568)
* switching to timezone type * taking a shot at 2.7
This commit is contained in:
committed by
Matthias Kramm
parent
76c0850eb2
commit
bbf0ac2d1f
@@ -14,9 +14,9 @@ class tzinfo:
|
||||
def fromutc(self, dt: datetime) -> datetime: ...
|
||||
|
||||
class timezone(tzinfo):
|
||||
utc = ... # type: tzinfo
|
||||
min = ... # type: tzinfo
|
||||
max = ... # type: tzinfo
|
||||
utc = ... # type: timezone
|
||||
min = ... # type: timezone
|
||||
max = ... # type: timezone
|
||||
|
||||
def __init__(self, offset: timedelta, name: str = ...) -> None: ...
|
||||
def __hash__(self) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user