[3.8] [doc] Fix link to abc.collections.Iterable (GH-22502) (#22504)

Automerge-Triggered-By: @gvanrossum.
(cherry picked from commit d4b9edd505)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
This commit is contained in:
Andre Delfino 2020-10-11 14:32:02 -03:00 committed by GitHub
parent ff6870f199
commit b15fff620f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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):