Skip to content

Commit a0a825c

Browse files
authored
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
1 parent c56e2bb commit a0a825c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/whatsnew/3.11.rst

+2
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,8 @@ asyncio
434434
datetime
435435
--------
436436

437+
* Add :attr:`datetime.UTC`, a convenience alias for
438+
:attr:`datetime.timezone.utc`. (Contributed by Kabir Kwatra in :gh:`91973`.)
437439
* :meth:`datetime.date.fromisoformat`, :meth:`datetime.time.fromisoformat` and
438440
:meth:`datetime.datetime.fromisoformat` can now be used to parse most ISO 8601
439441
formats (barring only those that support fractional hours and minutes).

0 commit comments

Comments
 (0)