]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[doc] Fix link to abc.collections.Iterable (GH-22502)
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 2 Oct 2020 23:36:51 +0000 (16:36 -0700)
committerGitHub <noreply@github.com>
Fri, 2 Oct 2020 23:36:51 +0000 (16:36 -0700)
Automerge-Triggered-By: @gvanrossum
(cherry picked from commit d4b9edd5052a2d9ae3d2be69975cc933afb37737)

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

index 78d90d19f74e0784eb8a6d91cd3cfd1e264ab4ca..a4343d7e39374a187f82909520ff949067181a82 100644 (file)
@@ -903,7 +903,7 @@ These are not used in annotations. They are building blocks for creating generic
    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):