summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>2020-10-02 23:36:51 (GMT)
committerGitHub <noreply@github.com>2020-10-02 23:36:51 (GMT)
commitebc8072c3dbcee983db4c709095426b4dc6d0516 (patch)
tree5abac956e04690f54df502833e4d948ddb460ee8
parent6d40943e34af71fa7b9e10a66517325dd72c5516 (diff)
downloadcpython-ebc8072c3dbcee983db4c709095426b4dc6d0516.zip
cpython-ebc8072c3dbcee983db4c709095426b4dc6d0516.tar.gz
cpython-ebc8072c3dbcee983db4c709095426b4dc6d0516.tar.bz2
[doc] Fix link to abc.collections.Iterable (GH-22502)
Automerge-Triggered-By: @gvanrossum (cherry picked from commit d4b9edd5052a2d9ae3d2be69975cc933afb37737) Co-authored-by: Andre Delfino <adelfino@gmail.com>
-rw-r--r--Doc/library/typing.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 78d90d1..a4343d7 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):