Skip to content

Commit 335eb57

Browse files
[doc] Add link to Generic in typing (GH-22125)
(cherry picked from commit 5bfd60f) Co-authored-by: Andre Delfino <adelfino@gmail.com>
1 parent 9308173 commit 335eb57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/typing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ These are not used in annotations. They are building blocks for creating generic
821821

822822
Type variables exist primarily for the benefit of static type
823823
checkers. They serve as the parameters for generic types as well
824-
as for generic function definitions. See class Generic for more
824+
as for generic function definitions. See :class:`Generic` for more
825825
information on generic types. Generic functions work as follows::
826826

827827
def repeat(x: T, n: int) -> Sequence[T]:

0 commit comments

Comments
 (0)