From 357708eee0a665240905f77a4a6832b642be6d52 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sat, 29 Jul 2023 18:21:45 +0100 Subject: [PATCH] [3.11] gh-107422: Remove outdated `TypedDict` example from typing docs (#107436) (#107438) gh-107422: Remove outdated `TypedDict` example from typing docs (#107436) 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 d03f0af1bc6b..a0766690bad2 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -2073,9 +2073,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: .. testcode:: -- 2.47.3