From 5bfd60fc2bf26bd6fa23a3a50c7990b7f68b3ea3 Mon Sep 17 00:00:00 2001 From: Andre Delfino Date: Mon, 7 Sep 2020 02:29:38 -0300 Subject: [doc] Add link to Generic in typing (GH-22125) --- Doc/library/typing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]: -- cgit v0.12