From: Andre Delfino Date: Fri, 2 Oct 2020 23:15:28 +0000 (-0300) Subject: [doc] Fix link to abc.collections.Iterable (GH-22502) X-Git-Tag: v3.10.0a1~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d4b9edd5052a2d9ae3d2be69975cc933afb37737;p=thirdparty%2FPython%2Fcpython.git [doc] Fix link to abc.collections.Iterable (GH-22502) Automerge-Triggered-By: @gvanrossum --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index cbb18954a676..35e0445889b1 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -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):