summaryrefslogtreecommitdiffstats
path: root/Doc/library/datetime.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-08-29 14:54:37 (GMT)
committerGitHub <noreply@github.com>2019-08-29 14:54:37 (GMT)
commit9db66a2b5ab6a302bc46421712f13b0afd94654b (patch)
tree085dc05e8eadebbbda22b9218c13d2d0503643aa /Doc/library/datetime.rst
parent384c6d72d9a12764282ccc2d3935232a34a7cfbe (diff)
downloadcpython-9db66a2b5ab6a302bc46421712f13b0afd94654b.zip
cpython-9db66a2b5ab6a302bc46421712f13b0afd94654b.tar.gz
cpython-9db66a2b5ab6a302bc46421712f13b0afd94654b.tar.bz2
bpo-37979: Add alternative to fromisoformat in documentation (GH-15596)
Adds a link to `dateutil.parser.isoparse` in the documentation. It would be nice to set up intersphinx for things like this, but I think we can leave that for a separate PR. CC: @pitrou [bpo-37979](https://bugs.python.org/issue37979) https://bugs.python.org/issue37979 Automerge-Triggered-By: @pitrou (cherry picked from commit 59725f3badb3028636c8906ecac4ceb0a37f3982) Co-authored-by: Paul Ganssle <paul@ganssle.io>
Diffstat (limited to 'Doc/library/datetime.rst')
-rw-r--r--Doc/library/datetime.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst
index 0135fa4..50f1b9e 100644
--- a/Doc/library/datetime.rst
+++ b/Doc/library/datetime.rst
@@ -857,7 +857,9 @@ Other constructors, all class methods:
.. caution::
This does not support parsing arbitrary ISO 8601 strings - it is only intended
- as the inverse operation of :meth:`datetime.isoformat`.
+ as the inverse operation of :meth:`datetime.isoformat`. A more full-featured
+ ISO 8601 parser, ``dateutil.parser.isoparse`` is available in the third-party package
+ `dateutil <https://dateutil.readthedocs.io/en/stable/parser.html#dateutil.parser.isoparse>`_.
.. versionadded:: 3.7