We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57b32a4 commit fd75adfCopy full SHA for fd75adf
Doc/library/typing.rst
@@ -1228,8 +1228,7 @@ These can be used as types in annotations. They all support subscription using
1228
is allowed as type argument to ``Literal[...]``, but type checkers may
1229
impose restrictions. See :pep:`586` for more details about literal types.
1230
1231
- ``Literal`` is very similar to :class:`Union`, the main difference is that its
1232
- arguments are literal values instead of types:
+ Additional details:
1233
1234
* The arguments must be literal values and there must be at least one.
1235
0 commit comments