mirror of
https://github.com/python/cpython
synced 2024-09-15 23:16:47 +00:00
gh-107422: Remove outdated TypedDict
example from typing docs (#107436)
This commit is contained in:
parent
d0dcd27d3a
commit
89fd4f4a3f
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue