summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-07-29 17:12:50 (GMT)
committerGitHub <noreply@github.com>2023-07-29 17:12:50 (GMT)
commit2c0a99d322037d653063dc8466b886110e0fc447 (patch)
tree91d4c9c520c50b7153cbd8a758d9832fd56d6762
parentd514e1439f396d984f4f886e19c47f56e565a7d1 (diff)
downloadcpython-2c0a99d322037d653063dc8466b886110e0fc447.zip
cpython-2c0a99d322037d653063dc8466b886110e0fc447.tar.gz
cpython-2c0a99d322037d653063dc8466b886110e0fc447.tar.bz2
[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>
-rw-r--r--Doc/library/typing.rst3
1 files changed, 0 insertions, 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):