diff options
author | Paul Ganssle <paul@ganssle.io> | 2019-08-29 14:47:48 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-08-29 14:47:48 (GMT) |
commit | 59725f3badb3028636c8906ecac4ceb0a37f3982 (patch) | |
tree | 1f46e558c2a6cf1edf6f6d7036f1696bc88d3ab6 /Doc | |
parent | 06145230c833c3db5dab8858e11bcd550a37c57f (diff) | |
download | cpython-59725f3badb3028636c8906ecac4ceb0a37f3982.zip cpython-59725f3badb3028636c8906ecac4ceb0a37f3982.tar.gz cpython-59725f3badb3028636c8906ecac4ceb0a37f3982.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
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/datetime.rst | 4 |
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 |