summaryrefslogtreecommitdiffstats
path: root/Doc/library/typing.rst
diff options
context:
space:
mode:
authorAndre Delfino <adelfino@gmail.com>2020-09-07 05:29:38 (GMT)
committerGitHub <noreply@github.com>2020-09-07 05:29:38 (GMT)
commit5bfd60fc2bf26bd6fa23a3a50c7990b7f68b3ea3 (patch)
tree810bddde69b0506580e2e61282955d39dac01647 /Doc/library/typing.rst
parent67c998de24985b36498b0fdac68d1beceb43aba7 (diff)
downloadcpython-5bfd60fc2bf26bd6fa23a3a50c7990b7f68b3ea3.zip
cpython-5bfd60fc2bf26bd6fa23a3a50c7990b7f68b3ea3.tar.gz
cpython-5bfd60fc2bf26bd6fa23a3a50c7990b7f68b3ea3.tar.bz2
[doc] Add link to Generic in typing (GH-22125)
Diffstat (limited to 'Doc/library/typing.rst')
-rw-r--r--Doc/library/typing.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 6d6b76c..3125ae9 100644
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -818,7 +818,7 @@ These are not used in annotations. They are building blocks for creating generic
Type variables exist primarily for the benefit of static type
checkers. They serve as the parameters for generic types as well
- as for generic function definitions. See class Generic for more
+ as for generic function definitions. See :class:`Generic` for more
information on generic types. Generic functions work as follows::
def repeat(x: T, n: int) -> Sequence[T]: