diff options
author | Paul Ganssle <1377457+pganssle@users.noreply.github.com> | 2022-05-10 03:51:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-10 03:51:28 (GMT) |
commit | a0a825c38a0c2ceec024a276f1f527c93ba57af2 (patch) | |
tree | 8f124dc25c094d01700c22e5b0bdbdc1b6da0414 /Doc | |
parent | c56e2bb9949c95ec8911cd5554b07044a564796f (diff) | |
download | cpython-a0a825c38a0c2ceec024a276f1f527c93ba57af2.zip cpython-a0a825c38a0c2ceec024a276f1f527c93ba57af2.tar.gz cpython-a0a825c38a0c2ceec024a276f1f527c93ba57af2.tar.bz2 |
gh-91928: Add what's new entry for datetime.UTC alias (GH-92567)
I merged this without a What's New entry to avoid merge conflicts, so here's the follow-up adding the entry.
@Kab1r do you mind reviewing?
Closes #91928
Automerge-Triggered-By: GH:pganssle
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.11.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index ed61e01..db5ede6 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -434,6 +434,8 @@ asyncio datetime -------- +* Add :attr:`datetime.UTC`, a convenience alias for + :attr:`datetime.timezone.utc`. (Contributed by Kabir Kwatra in :gh:`91973`.) * :meth:`datetime.date.fromisoformat`, :meth:`datetime.time.fromisoformat` and :meth:`datetime.datetime.fromisoformat` can now be used to parse most ISO 8601 formats (barring only those that support fractional hours and minutes). |