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