8000 [3.11] gh-107422: Remove outdated `TypedDict` example from typing doc… · python/cpython@357708e · GitHub
[go: up one dir, main page]

8000
Skip to content

Commit 357708e

Browse files
[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>
1 parent 3c1bcae commit 357708e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Doc/library/typing.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2073,9 +2073,6 @@ types.
20732073

20742074
class XZ(X, Z): pass # 5C85 raises TypeError
20752075

2076-
T = TypeVar('T')
2077-
class XT(X, Generic[T]): pass # raises TypeError
2078-
20792076
A ``TypedDict`` can be generic:
20802077

20812078
.. testcode::

0 commit comments

Comments
 (0)
0