]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-107422: Remove outdated `TypedDict` example from typing docs (#107436)
authorRakesh Sabale <102187286+ghubrakesh@users.noreply.github.com>
Sat, 29 Jul 2023 17:04:46 +0000 (22:34 +0530)
committerGitHub <noreply@github.com>
Sat, 29 Jul 2023 17:04:46 +0000 (17:04 +0000)
Doc/library/typing.rst

index 0265a39ce646f46c74010b94efe2390503fe48bd..e2791bbc97b002c7523550660598a9ff410bd0f6 100644 (file)
@@ -2329,9 +2329,6 @@ types.
 
       class XZ(X, Z): pass  # raises TypeError
 
-      T = TypeVar('T')
-      class XT(X, Generic[T]): pass  # raises TypeError
-
    A ``TypedDict`` can be generic::
 
       class Group[T](TypedDict):