[Python-checkins] [3.12] gh-84976: Add back UTC to datetime.__all__ (GH-104920) (#106019)
hauntsaninja
webhook-mailer at python.org
Mon Jun 26 23:41:56 EDT 2023
https://github.com/python/cpython/commit/364cb6683bc6c11af2b62ca4bc5100078d381479
commit: 364cb6683bc6c11af2b62ca4bc5100078d381479
branch: 3.12
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: hauntsaninja <12621235+hauntsaninja at users.noreply.github.com>
date: 2023-06-26T20:41:52-07:00
summary:
[3.12] gh-84976: Add back UTC to datetime.__all__ (GH-104920) (#106019)
Co-authored-by: Shantanu <12621235+hauntsaninja at users.noreply.github.com>
files:
M Lib/datetime.py
diff --git a/Lib/datetime.py b/Lib/datetime.py
index bad8beb4f6b0..a33d2d724cb3 100644
--- a/Lib/datetime.py
+++ b/Lib/datetime.py
@@ -6,4 +6,4 @@
from _pydatetime import __doc__
__all__ = ("date", "datetime", "time", "timedelta", "timezone", "tzinfo",
- "MINYEAR", "MAXYEAR")
+ "MINYEAR", "MAXYEAR", "UTC")
More information about the Python-checkins
mailing list