From: Alex Waygood Date: Sat, 29 Jul 2023 17:21:45 +0000 (+0100) Subject: [3.11] gh-107422: Remove outdated `TypedDict` example from typing docs (#107436)... X-Git-Tag: v3.11.5~114 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=357708eee0a665240905f77a4a6832b642be6d52;p=thirdparty%2FPython%2Fcpython.git [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> --- 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::