Skip to content

Commit fd3d00a

Browse files
miss-islingtonandresdelfino
authored andcommitted
[doc] Fix link to abc.collections.Iterable (pythonGH-22502)
Automerge-Triggered-By: @gvanrossum (cherry picked from commit d4b9edd) Co-authored-by: Andre Delfino <[email protected]>
1 parent 95de362 commit fd3d00a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/typing.rst

Lines changed: 1 addition & 1 deletion
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)