cpython/Lib/datetime.py
Shantanu 076b6204cb
gh-84976: Add back UTC to datetime.__all__ (#104920)
gh-84796: Add back UTC to datetime.__all__

This was mistakenly dropped in #103637

Noticed when updating typeshed for Python 3.12
2023-05-25 11:18:56 -04:00

10 lines
268 B
Python

try:
from _datetime import *
from _datetime import __doc__
except ImportError:
from _pydatetime import *
from _pydatetime import __doc__
__all__ = ("date", "datetime", "time", "timedelta", "timezone", "tzinfo",
"MINYEAR", "MAXYEAR", "UTC")