Skip to content

Commit 0f38667

Browse files
authored
1 parent d93fba9 commit 0f38667

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/spec/typeddict.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,8 @@ only if all of the following are satisfied:
749749
* For each item in ``A``, if ``B`` has the corresponding key, the corresponding
750750
value type in ``B`` is assignable to the value type in ``A``.
751751
* For each non-read-only item in ``A``, its value type is assignable to the
752-
corresponding value type in ``B``.
752+
corresponding value type in ``B``, and the corresponding key is not read-only
753+
in ``B``.
753754
* For each required key in ``A``, the corresponding key is required in ``B``.
754755
* For each non-required key in ``A``, if the item is not read-only in ``A``,
755756
the corresponding key is not required in ``B``.

0 commit comments

Comments
 (0)