diff options
author | Andre Delfino <adelfino@gmail.com> | 2020-10-02 23:15:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-02 23:15:28 (GMT) |
commit | d4b9edd5052a2d9ae3d2be69975cc933afb37737 (patch) | |
tree | b56801868b2e79f2e675eb32e1f015cb0ab53441 /Doc/library/typing.rst | |
parent | bd71a433408901e9705ebb0498693b3290dc8540 (diff) | |
download | cpython-d4b9edd5052a2d9ae3d2be69975cc933afb37737.zip cpython-d4b9edd5052a2d9ae3d2be69975cc933afb37737.tar.gz cpython-d4b9edd5052a2d9ae3d2be69975cc933afb37737.tar.bz2 |
[doc] Fix link to abc.collections.Iterable (GH-22502)
Automerge-Triggered-By: @gvanrossum
Diffstat (limited to 'Doc/library/typing.rst')
-rw-r--r-- | Doc/library/typing.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index cbb1895..35e0445 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): |