]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[typo] fix dupe in datetime.fromisoformat docs (GH-17295)
authorMichael Morehouse <640167+yawpitch@users.noreply.github.com>
Mon, 23 Dec 2019 14:37:47 +0000 (14:37 +0000)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 23 Dec 2019 14:37:47 +0000 (06:37 -0800)
Fixes a nearly word for word duplication of a sentence that appears
earlier in the caution section of datetime.datetime.fromisoformat in
Doc/Library/datetime.rst.

No issue created as it's a trivial change.

Automerge-Triggered-By: @pganssle
Doc/library/datetime.rst

index 401118f980acfa5d0e27e244607a21cbc3bb9d4b..22ecbb551d89736ab10b960d5aa28154d89182ce 100644 (file)
@@ -997,8 +997,6 @@ Other constructors, all class methods:
      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>`__.
-     This does not support parsing arbitrary ISO 8601 strings - it is only intended
-     as the inverse operation of :meth:`datetime.isoformat`.
 
    Examples::