8000 gh-107422: Remove outdated `TypedDict` example from typing docs (#107… · python/cpython@89fd4f4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 89fd4f4

Browse files
authored
gh-107422: Remove outdated TypedDict example from typing docs (#107436)
1 parent d0dcd27 commit 89fd4f4

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
@@ -2329,9 +2329,6 @@ types.
23292329

23302330
class XZ(X, Z): pass # raises TypeError
23312331

2332-
T = TypeVar('T')
2333-
class XT(X, Generic[T]): pass # raises TypeError
2334-
23352332
A ``TypedDict`` can be generic::
23362333

23372334
class Group[T](TypedDict):

0 commit comments

Comments
 (0)
0