]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[doc] Fix link to abc.collections.Iterable (GH-22502)
authorAndre Delfino <adelfino@gmail.com>
Fri, 2 Oct 2020 23:15:28 +0000 (20:15 -0300)
committerGitHub <noreply@github.com>
Fri, 2 Oct 2020 23:15:28 +0000 (16:15 -0700)
Automerge-Triggered-By: @gvanrossum
Doc/library/typing.rst

index cbb18954a6764a4d8325f0186149027836a2b797..35e0445889b17215f72a05413f911930768058b2 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):