Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 89fd4f4

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

File tree

Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed

‎Doc/library/typing.rst

Copy file name to clipboardExpand all lines: Doc/library/typing.rst
-3Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.