diff options
author | Andre Delfino <adelfino@gmail.com> | 2020-10-11 17:32:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-11 17:32:02 (GMT) |
commit | b15fff620f8e7ef3353300dff69706e300123cab (patch) | |
tree | c5963d62741d18a679f16c4a98f6d8ff88c7be01 /Doc | |
parent | ff6870f199511f09304e9d3ee7e7d8ed3902ffd1 (diff) | |
download | cpython-b15fff620f8e7ef3353300dff69706e300123cab.zip cpython-b15fff620f8e7ef3353300dff69706e300123cab.tar.gz cpython-b15fff620f8e7ef3353300dff69706e300123cab.tar.bz2 |
[3.8] [doc] Fix link to abc.collections.Iterable (GH-22502) (#22504)
Automerge-Triggered-By: @gvanrossum.
(cherry picked from commit d4b9edd5052a2d9ae3d2be69975cc933afb37737)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
Diffstat (limited to 'Doc')
-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 9785f79..351c0be 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -1167,7 +1167,7 @@ The module defines the following classes, functions and decorators: 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): |