From 0ac2fe0af0ef44b538bf5e7c4b55ee29c060e55d Mon Sep 17 00:00:00 2001 From: Andre Delfino Date: Mon, 7 Sep 2020 02:29:38 -0300 Subject: [PATCH] [doc] Add link to Generic in typing (GH-22125) (cherry picked from commit 5bfd60fc2bf26bd6fa23a3a50c7990b7f68b3ea3) Co-authored-by: Andre Delfino --- 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 6d6b76c1d08956..3125ae97808a9e 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]: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy