Skip to content

Commit 5bfd60f

Browse files
[doc] Add link to Generic in typing (GH-22125)
1 parent 67c998d commit 5bfd60f

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
@@ -818,7 +818,7 @@ These are not used in annotations. They are building blocks for creating generic
818818

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

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

0 commit comments

Comments
 (0)