Skip to content

Commit

Permalink
[doc] Add link to Generic in typing (pythonGH-22125)
Browse files Browse the repository at this point in the history
  • Loading branch information
andresdelfino authored and Seth Sims committed Oct 18, 2020
1 parent 9267383 commit 23b3576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/typing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down

0 comments on commit 23b3576

Please sign in to comment.