]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[doc] Add link to Generic in typing (GH-22125)
authorAndre Delfino <adelfino@gmail.com>
Mon, 7 Sep 2020 05:29:38 +0000 (02:29 -0300)
committerGitHub <noreply@github.com>
Mon, 7 Sep 2020 05:29:38 +0000 (22:29 -0700)
Doc/library/typing.rst

index 6d6b76c1d08956000978539ffedf2a51311aed97..3125ae97808a9e5b88112c002078d5fc2ec8342b 100644 (file)
@@ -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]: