[Python-checkins] Add What's new entry for datetime.fromisoformat (#5559)

Alexander Belopolsky webhook-mailer at python.org
Mon Feb 5 21:28:50 EST 2018


https://github.com/python/cpython/commit/22864bc8e4a076bbac748ccda6c27f1ec41b53e7
commit: 22864bc8e4a076bbac748ccda6c27f1ec41b53e7
branch: master
author: Paul Ganssle <pganssle at users.noreply.github.com>
committer: Alexander Belopolsky <abalkin at users.noreply.github.com>
date: 2018-02-05T21:28:46-05:00
summary:

Add What's new entry for datetime.fromisoformat (#5559)

Documents bpo-15873

files:
M Doc/whatsnew/3.7.rst

diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 7b17c62e2562..8d4772f973fb 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
 ---
 



More information about the Python-checkins mailing list