From 2ee0a77f84caa8677a64717c7e1acbc58884568a Mon Sep 17 00:00:00 2001 From: Rakesh Sabale <102187286+ghubrakesh@users.noreply.github.com> Date: Sat, 29 Jul 2023 22:34:46 +0530 Subject: [PATCH] gh-107422: Remove outdated `TypedDict` example from typing docs (GH-107436) (cherry picked from commit 89fd4f4a3fc5fb8076ec064c22a30108480e946b) Co-authored-by: Rakesh Sabale <102187286+ghubrakesh@users.noreply.github.com> --- Doc/library/typing.rst | 3 --- 1 file changed, 3 deletions(-) diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index e1acbd83a41730..11c39a444ef65d 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -2327,9 +2327,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):