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 21b23f6 commit 51b8712Copy full SHA for 51b8712
1 file changed
typer/_typing.py
@@ -43,8 +43,8 @@ def is_union(tp: Optional[Type[Any]]) -> bool:
43
44
45
if sys.version_info < (3, 8):
46
- # Even though this implementation is slower, we need it for python 3.6/3.7:
47
- # In python 3.6/3.7 "Literal" is not a builtin type and uses a different
+ # Even though this implementation is slower, we need it for python 3.7:
+ # In python 3.7 "Literal" is not a builtin type and uses a different
48
# mechanism.
49
# for this reason `Literal[None] is Literal[None]` evaluates to `False`,
50
# breaking the faster implementation used for the other python versions.
0 commit comments