[Python-checkins] [doc] Fix link to abc.collections.Iterable (GH-22502)

Miss Skeleton (bot) webhook-mailer at python.org
Fri Oct 2 19:36:59 EDT 2020


https://github.com/python/cpython/commit/ebc8072c3dbcee983db4c709095426b4dc6d0516
commit: ebc8072c3dbcee983db4c709095426b4dc6d0516
branch: 3.9
author: Miss Skeleton (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-10-02T16:36:51-07:00
summary:

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


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

Co-authored-by: Andre Delfino <adelfino at gmail.com>

files:
M Doc/library/typing.rst

diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 78d90d19f74e0..a4343d7e39374 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):



More information about the Python-checkins mailing list