mirror of
https://github.com/python/cpython
synced 2024-11-02 08:22:14 +00:00
076b6204cb
gh-84796: Add back UTC to datetime.__all__ This was mistakenly dropped in #103637 Noticed when updating typeshed for Python 3.12
9 lines
268 B
Python
9 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")
|