diff options
Diffstat (limited to 'coverage/parser.py')
-rw-r--r-- | coverage/parser.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/coverage/parser.py b/coverage/parser.py index e027b41..540ad09 100644 --- a/coverage/parser.py +++ b/coverage/parser.py @@ -646,8 +646,7 @@ class AstArcAnalyzer(object): if node_name in ["NameConstant", "Num"]: return "Num" elif node_name == "Name": - if ((env.PY3 or env.PYVERSION >= (2, 7)) and - node.id in ["True", "False", "None"]): + if node.id in ["True", "False", "None"]: return "Name" return None |