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 357708e

Browse filesBrowse 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
Copy full SHA for 357708e

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
@@ -2073,9 +2073,6 @@ types.
20732073

20742074
class XZ(X, Z): pass # 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.