PEP 821: Support for unpacking TypedDicts in Callable type hints

📝

内容提要

This PEP proposes allowing Unpack[TypedDict] in the parameter list inside Callable, enabling concise and type-safe ways to describe keyword-only callable signatures. Currently, Callable assumes...

🏷️

标签

➡️

继续阅读