From: Rakesh Sabale <102187286+ghubrakesh@users.noreply.github.com> Date: Sat, 29 Jul 2023 17:04:46 +0000 (+0530) Subject: gh-107422: Remove outdated `TypedDict` example from typing docs (#107436) X-Git-Tag: v3.13.0a1~1140 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=89fd4f4a3fc5fb8076ec064c22a30108480e946b;p=thirdparty%2FPython%2Fcpython.git gh-107422: Remove outdated `TypedDict` example from typing docs (#107436) --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 0265a39ce646..e2791bbc97b0 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -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):