PEP 728: TypedDict with Typed Extra Fields by PIG208 · Pull Request #3441 · python/peps
Also split parts of it into individual sections dicussing changes to TypedDict type consistency with Mapping and dict. Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This follows the style of PEP 705 and the majority of the typing spec to use "key" or "item" instead of "field" depending on the context. It also makes use of "value type" more to be adequately more pedantic. The special key added is now referred to as the "reserved key" to make it clearer that it is not intended for other purposes anymore. It also make use of type aliases like `VT` more for brevity. Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters