0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 03:01:36 +01:00
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")