From 22864bc8e4a076bbac748ccda6c27f1ec41b53e7 Mon Sep 17 00:00:00 2001 From: Paul Ganssle Date: Mon, 5 Feb 2018 21:28:46 -0500 Subject: [PATCH] Add What's new entry for datetime.fromisoformat (#5559) Documents bpo-15873 --- Doc/whatsnew/3.7.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst index 7b17c62e25..8d4772f973 100644 --- a/Doc/whatsnew/3.7.rst +++ b/Doc/whatsnew/3.7.rst @@ -477,6 +477,14 @@ Added support for the Blowfish method. The :func:`~crypt.mksalt` function now allows to specify the number of rounds for hashing. (Contributed by Serhiy Storchaka in :issue:`31702`.) +datetime +-------- + +Added the :func:`datetime.datetime.fromisoformat` method, which constructs a +:class:`datetime.datetime` object from a string in one of the formats output +by :func:`datetime.datetime.isoformat`. (Contributed by Paul Ganssle in +:issue:`15873`.) + dis --- -- 2.40.0