mirror of
https://github.com/python/cpython.git
synced 2024-11-25 09:39:56 +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")
|