mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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
This commit is contained in:
parent
c56e2bb994
commit
a0a825c38a
1 changed files with 2 additions and 0 deletions
|
@ -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).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue