Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Move UTC alias into version guard
  • Loading branch information
dignissimus committed May 4, 2022
commit fd3a1afd4d429e1b4116e784f0ee404e3c8d3c49
3 changes: 2 additions & 1 deletion stdlib/datetime.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ class timezone(tzinfo):
def __init__(self, offset: timedelta, name: str = ...) -> None: ...
def __hash__(self) -> int: ...

UTC: timezone
if sys.version_info >= (3, 11):
UTC: timezone

if sys.version_info >= (3, 9):
class _IsoCalendarDate(NamedTuple):
Expand Down