Skip to content

Commit 51b8712

Browse files
committed
fix comment
1 parent 21b23f6 commit 51b8712

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

typer/_typing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def is_union(tp: Optional[Type[Any]]) -> bool:
4343

4444

4545
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
46+
# Even though this implementation is slower, we need it for python 3.7:
47+
# In python 3.7 "Literal" is not a builtin type and uses a different
4848
# mechanism.
4949
# for this reason `Literal[None] is Literal[None]` evaluates to `False`,
5050
# breaking the faster implementation used for the other python versions.

0 commit comments

Comments
 (0)