Skip to content

Commit

Permalink
Reword per feedback (<https://discuss.python.org/t/60912/2>)
Browse files Browse the repository at this point in the history
  • Loading branch information
InSyncWithFoo committed Aug 15, 2024
1 parent 44bbb79 commit 94ef474
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 the same as ``type[A] | type[B]``.
``type[A | B]`` is consistent with ``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 94ef474

Please sign in to comment.