summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRakesh Sabale <102187286+ghubrakesh@users.noreply.github.com>2023-07-29 17:04:46 (GMT)
committerGitHub <noreply@github.com>2023-07-29 17:04:46 (GMT)
commit89fd4f4a3fc5fb8076ec064c22a30108480e946b (patch)
tree23b87af9e65d9276c1b2aac5f58698383019e23f
parentd0dcd27d3a8b8680803510fee59836cd732feb7a (diff)
downloadcpython-89fd4f4a3fc5fb8076ec064c22a30108480e946b.zip
cpython-89fd4f4a3fc5fb8076ec064c22a30108480e946b.tar.gz
cpython-89fd4f4a3fc5fb8076ec064c22a30108480e946b.tar.bz2
gh-107422: Remove outdated `TypedDict` example from typing docs (#107436)
-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 0265a39..e2791bb 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):