Commit 59725f3b authored by Paul Ganssle's avatar Paul Ganssle Committed by Miss Islington (bot)

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
parent 06145230
...@@ -857,7 +857,9 @@ Other constructors, all class methods: ...@@ -857,7 +857,9 @@ Other constructors, all class methods:
.. caution:: .. caution::
This does not support parsing arbitrary ISO 8601 strings - it is only intended 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 .. versionadded:: 3.7
......
Added a link to dateutil.parser.isoparse in the datetime.fromisoformat
documentation. Patch by Paul Ganssle
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment