From 4c3e7bd9c1aec13d1d413e3247dd36eee2e68b29 Mon Sep 17 00:00:00 2001 From: Jack O'Connor Date: Tue, 25 Nov 2025 10:57:57 -0800 Subject: [PATCH] Restore a missing TypedDict subtyping requirement This requirement was present in previous version but was dropped in the most recent version. --- docs/spec/typeddict.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/spec/typeddict.rst b/docs/spec/typeddict.rst index 1e0808f6..81b72ea9 100644 --- a/docs/spec/typeddict.rst +++ b/docs/spec/typeddict.rst @@ -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: