From 2c0a99d322037d653063dc8466b886110e0fc447 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sat, 29 Jul 2023 10:12:50 -0700 Subject: [3.12] gh-107422: Remove outdated `TypedDict` example from typing docs (GH-107436) (#107437) 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 e1acbd8..11c39a4 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): -- cgit v0.12