]> granicus.if.org Git - python/commitdiff
Add What's new entry for datetime.fromisoformat (GH-5559) (GH-5939)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 1 Mar 2018 18:48:10 +0000 (10:48 -0800)
committerAlexander Belopolsky <abalkin@users.noreply.github.com>
Thu, 1 Mar 2018 18:48:10 +0000 (13:48 -0500)
Documents bpo-15873
(cherry picked from commit 22864bc8e4a076bbac748ccda6c27f1ec41b53e7)

Co-authored-by: Paul Ganssle <pganssle@users.noreply.github.com>
Doc/whatsnew/3.7.rst

index 8fa39abc6ace8bdc95e734468abdfc5249bd6dce..46f4f13aab4798e8d573d4ffc61c5791515dbfc5 100644 (file)
@@ -502,6 +502,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
 ---