|
| | __new__ (cls, name, bases, ns, total=True) |
| |
|
| __subclasscheck__ (cls, other) |
| |
◆ __new__()
| pip._vendor.typing_extensions._TypedDictMeta.__new__ |
( |
|
cls, |
|
|
|
name, |
|
|
|
bases, |
|
|
|
ns, |
|
|
|
total = True |
|
) |
| |
Create new typed dict class object.
This method is called when TypedDict is subclassed,
or when TypedDict is instantiated. This way
TypedDict supports all three syntax forms described in its docstring.
Subclasses and instances of TypedDict return actual dictionaries.
The documentation for this class was generated from the following file:
- docs/help/help-venv/lib/python3.12/site-packages/pip/_vendor/typing_extensions.py