PyDocs

Nav

Development Tools

NoExtraItems

typing

data
A sentinel object used to indicate that a TypedDict does not have the extra_items class argument.
1 Example
>>> from typing import TypedDict, NoExtraItems
>>> class Point(TypedDict):
...     x: int
...     y: int
...
>>> Point.__extra_items__ is NoExtraItems
True
from the Python docs
See Also
No see-alsos for typing/NoExtraItems
0 Notes
No notes for NoExtraItems