Skip to content

Commit d4b9edd

Browse files
[doc] Fix link to abc.collections.Iterable (pythonGH-22502)
Automerge-Triggered-By: @gvanrossum
1 parent bd71a43 commit d4b9edd

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
@@ -903,7 +903,7 @@ These are not used in annotations. They are building blocks for creating generic
903903
Such a protocol can be used with :func:`isinstance` and :func:`issubclass`.
904904
This raises :exc:`TypeError` when applied to a non-protocol class. This
905905
allows a simple-minded structural check, very similar to "one trick ponies"
906-
in :mod:`collections.abc` such as :class:`Iterable`. For example::
906+
in :mod:`collections.abc` such as :class:`~collections.abc.Iterable`. For example::
907907

908908
@runtime_checkable
909909
class Closable(Protocol):

0 commit comments

Comments
 (0)