]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[typo] fix dupe in datetime.fromisoformat docs (GH-17295)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 23 Dec 2019 14:44:04 +0000 (06:44 -0800)
committerGitHub <noreply@github.com>
Mon, 23 Dec 2019 14:44:04 +0000 (06:44 -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
(cherry picked from commit e7b406f4e20e248d24079f97d7c8b93e5a45249e)

Co-authored-by: Michael Morehouse <640167+yawpitch@users.noreply.github.com>
Doc/library/datetime.rst

index 2bc4652c263965531df3c7007d073cbd243f1bf8..29c6b5a4736c0d1c8bd8630532676ca88d80c9e4 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::