]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.8] [doc] Fix link to abc.collections.Iterable (GH-22502) (#22504)
authorAndre Delfino <adelfino@gmail.com>
Sun, 11 Oct 2020 17:32:02 +0000 (14:32 -0300)
committerGitHub <noreply@github.com>
Sun, 11 Oct 2020 17:32:02 +0000 (10:32 -0700)
Automerge-Triggered-By: @gvanrossum.
(cherry picked from commit d4b9edd5052a2d9ae3d2be69975cc933afb37737)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
Doc/library/typing.rst

index 9785f792876748fca75131ac6bc4bba7effd4126..351c0bee75c83fccd4ccaaea81fd26a2c5310aa1 100644 (file)
@@ -1167,7 +1167,7 @@ The module defines the following classes, functions and decorators:
    Such a protocol can be used with :func:`isinstance` and :func:`issubclass`.
    This raises :exc:`TypeError` when applied to a non-protocol class.  This
    allows a simple-minded structural check, very similar to "one trick ponies"
-   in :mod:`collections.abc` such as :class:`Iterable`.  For example::
+   in :mod:`collections.abc` such as :class:`~collections.abc.Iterable`.  For example::
 
       @runtime_checkable
       class Closable(Protocol):