summaryrefslogtreecommitdiff
path: root/coverage/parser.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-11-28 05:45:33 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-11-28 06:01:22 -0500
commitaa62abd5ff33926f44fe4ec9e985ed3d72ea1f9d (patch)
tree301823a5d57e89561e0761d48cd2cf68a6d501c7 /coverage/parser.py
parent79c66c00cfc98f04b676e8fb32dc5f089a5eff3c (diff)
downloadpython-coveragepy-git-aa62abd5ff33926f44fe4ec9e985ed3d72ea1f9d.tar.gz
style: fix spelling
un-executed, white space, time stamp.
Diffstat (limited to 'coverage/parser.py')
-rw-r--r--coverage/parser.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/coverage/parser.py b/coverage/parser.py
index 135a3b18..1bf1951a 100644
--- a/coverage/parser.py
+++ b/coverage/parser.py
@@ -177,11 +177,10 @@ class PythonParser:
first_on_line = True
if ttext.strip() and toktype != tokenize.COMMENT:
- # A non-whitespace token.
+ # A non-white-space token.
empty = False
if first_line is None:
- # The token is not whitespace, and is the first in a
- # statement.
+ # The token is not white space, and is the first in a statement.
first_line = slineno
# Check whether to end an excluded suite.
if excluding and indent <= exclude_indent: