]> granicus.if.org Git - python/commitdiff
Add What's new entry for datetime.fromisoformat (#5559)
authorPaul Ganssle <pganssle@users.noreply.github.com>
Tue, 6 Feb 2018 02:28:46 +0000 (21:28 -0500)
committerAlexander Belopolsky <abalkin@users.noreply.github.com>
Tue, 6 Feb 2018 02:28:46 +0000 (21:28 -0500)
Documents bpo-15873

Doc/whatsnew/3.7.rst

index 7b17c62e25628ab919ad8a0d6d283d3fef3e4311..8d4772f973fb34daebb66e26f001902b6fb541a1 100644 (file)
@@ -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
 ---