summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>2020-10-03 16:00:38 (GMT)
committerGitHub <noreply@github.com>2020-10-03 16:00:38 (GMT)
commitc3cd440e7b2156cc8990427700eb580d839211a3 (patch)
treeaf776b03cb6b8cf7fa1b7d4db2463de85e9cc0bb /Doc
parent9aa34f1bbbe1ca6376539f9ba436ff75d2141888 (diff)
downloadcpython-c3cd440e7b2156cc8990427700eb580d839211a3.zip
cpython-c3cd440e7b2156cc8990427700eb580d839211a3.tar.gz
cpython-c3cd440e7b2156cc8990427700eb580d839211a3.tar.bz2
[doc] Fix link to abc.collections.Iterable (GH-22520)
Missed this occurrence before, sorry. Also changed "the PEP" to "PEP". Automerge-Triggered-By: @gvanrossum (cherry picked from commit 3fe614893742faee3c64e6d974e11329a496424f) Co-authored-by: Andre Delfino <adelfino@gmail.com>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/typing.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 0706bc8..9785f79 100644
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -402,10 +402,10 @@ Initially :pep:`484` defined Python static type system as using
a class ``B`` is expected if and only if ``A`` is a subclass of ``B``.
This requirement previously also applied to abstract base classes, such as
-:class:`Iterable`. The problem with this approach is that a class had
+:class:`~collections.abc.Iterable`. The problem with this approach is that a class had
to be explicitly marked to support them, which is unpythonic and unlike
what one would normally do in idiomatic dynamically typed Python code.
-For example, this conforms to the :pep:`484`::
+For example, this conforms to :pep:`484`::
from typing import Sized, Iterable, Iterator