Skip to content

Commit

Permalink
Update omegaconf/_utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas MK <[email protected]>
  • Loading branch information
2 people authored and jordan-schneider committed Mar 26, 2022
1 parent c86cec5 commit 59eb792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omegaconf/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ def is_tuple_annotation(type_: Any) -> bool:

def is_literal_annotation(type_: Any) -> bool:
origin = getattr(type_, "__origin__", None)
if sys.version_info >= (3, 8, 0):
if sys.version_info >= (3, 8):
return origin is Literal # pragma: no cover
else:
return (
Expand Down

0 comments on commit 59eb792

Please sign in to comment.