diff --git a/fire/parser.py b/fire/parser.py index a335cc2c..f388fda3 100644 --- a/fire/parser.py +++ b/fire/parser.py @@ -18,10 +18,7 @@ import ast import sys -if sys.version_info[0:2] < (3, 8): - _StrNode = ast.Str # type: ignore # pylint: disable=no-member # deprecated but needed for Python < 3.8 -else: - _StrNode = ast.Constant +_StrNode = ast.Constant def CreateParser():