Skip to content

Commit b15fff6

Browse files
[3.8] [doc] Fix link to abc.collections.Iterable (GH-22502) (#22504)
Automerge-Triggered-By: @gvanrossum. (cherry picked from commit d4b9edd) Co-authored-by: Andre Delfino <adelfino@gmail.com>
1 parent ff6870f commit b15fff6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/typing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1167,7 +1167,7 @@ The module defines the following classes, functions and decorators:
11671167
Such a protocol can be used with :func:`isinstance` and :func:`issubclass`.
11681168
This raises :exc:`TypeError` when applied to a non-protocol class. This
11691169
allows a simple-minded structural check, very similar to "one trick ponies"
1170-
in :mod:`collections.abc` such as :class:`Iterable`. For example::
1170+
in :mod:`collections.abc` such as :class:`~collections.abc.Iterable`. For example::
11711171

11721172
@runtime_checkable
11731173
class Closable(Protocol):

0 commit comments

Comments
 (0)