Skip to content

Commit

Permalink
Rewording (again) per review
Browse files Browse the repository at this point in the history
  • Loading branch information
InSyncWithFoo authored Aug 15, 2024
1 parent 94ef474 commit 39d3808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/spec/special-types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ Note that it is legal to use a union of classes as the parameter for
...

``type[]`` distributes over unions:
``type[A | B]`` is consistent with ``type[A] | type[B]``.
``type[A | B]`` is equivalent to ``type[A] | type[B]``.

However, the actual argument passed in at runtime must still be a
concrete class object, e.g. in the above example::
Expand Down

0 comments on commit 39d3808

Please sign in to comment.