Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
typo
  • Loading branch information
JelleZijlstra committed May 23, 2024
commit cfefa40231f49b7e36ecf4828050eb7c869cf0eb
2 changes: 1 addition & 1 deletion docs/spec/special-types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ system contains a special case.
When a reference to the built-in type ``float`` appears in a :term:`type expression`,
it is interpreted as if it were a union of the built-in types ``float`` and ``int``.
Similarly, when a reference to the type ``complex`` appears, it is interpreted as
a union of the builtin-types ``complex``, ``float`` and ``int``.
a union of the built-in types ``complex``, ``float`` and ``int``.
These implicit unions behave exactly like the corresponding explicit union types,
but type checkers may choose to display them differently in user-visible output
for clarity.
Expand Down