Skip to content

Commit 0b9fed8

Browse files
authored
Fix assignability rule for typed dictionaries (#1974)
1 parent 54b6ce2 commit 0b9fed8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: docs/spec/typeddict.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,9 @@ and only if both of these conditions are satisfied:
296296
* For each key in ``A``, ``B`` has the corresponding key and the corresponding
297297
value type in ``B`` is :term:`consistent` with the value type in ``A``.
298298

299-
* For each required key in ``B``, the corresponding key is required
300-
in ``A``. For each non-required key in ``B``, the corresponding key
301-
is not required in ``A``.
299+
* For each required key in ``A``, the corresponding key is required
300+
in ``B``. For each non-required key in ``A``, the corresponding key
301+
is not required in ``B``.
302302

303303
Discussion:
304304

0 commit comments

Comments
 (0)