diff options
author | Miss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-10-02 23:36:51 (GMT) |
---|---|---|
committer | Ćukasz Langa <lukasz@langa.pl> | 2020-10-04 15:30:49 (GMT) |
commit | fd3d00adb08c0b6530c2730a917cf20bbd8faba3 (patch) | |
tree | 678fdfda8adb69ad6ac82b3f1a13a3e935563e58 | |
parent | 95de3627f1527cbb1e98d64dd7cc6463c297b616 (diff) | |
download | cpython-fd3d00adb08c0b6530c2730a917cf20bbd8faba3.zip cpython-fd3d00adb08c0b6530c2730a917cf20bbd8faba3.tar.gz cpython-fd3d00adb08c0b6530c2730a917cf20bbd8faba3.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.rst | 2 |
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): |