8000 Restore a missing TypedDict subtyping requirement by oconnor663 · Pull Request #2119 · python/typing · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/spec/typeddict.rst
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ The conditions are as follows:

- If it is mutable in ``A``:

- If ``B`` has an item with the same key, it must also be mutable, and its item type must be
- If ``B`` has an item with the same key, it must also be mutable and non-required, and its item type must be
:term:`equivalent` to the item type in ``A``.

- Else:
Expand Down
0