summaryrefslogtreecommitdiff
path: root/coverage
diff options
context:
space:
mode:
Diffstat (limited to 'coverage')
-rw-r--r--coverage/backward.py6
-rw-r--r--coverage/collector.py4
-rw-r--r--coverage/control.py2
3 files changed, 6 insertions, 6 deletions
diff --git a/coverage/backward.py b/coverage/backward.py
index 3372a8b3..0a08c6d9 100644
--- a/coverage/backward.py
+++ b/coverage/backward.py
@@ -76,7 +76,7 @@ if sys.version_info >= (3, 0):
def bytes_to_ints(bytes_value):
"""Turn a bytes object into a sequence of ints."""
- # In Py3, iterating bytes gives ints.
+ # In Python 3, iterating bytes gives ints.
return bytes_value
else:
@@ -103,10 +103,10 @@ else:
try:
- # In Py 2.x, the builtins were in __builtin__
+ # In Python 2.x, the builtins were in __builtin__
BUILTINS = sys.modules['__builtin__']
except KeyError:
- # In Py 3.x, they're in builtins
+ # In Python 3.x, they're in builtins
BUILTINS = sys.modules['builtins']
diff --git a/coverage/collector.py b/coverage/collector.py
index 6ffdc7c4..39acd7bd 100644
--- a/coverage/collector.py
+++ b/coverage/collector.py
@@ -132,8 +132,8 @@ class Collector(object):
def reset(self):
"""Clear collected data, and prepare to collect more."""
- # A dictionary mapping filenames to dicts with linenumber keys,
- # or mapping filenames to dicts with linenumber pairs as keys.
+ # A dictionary mapping filenames to dicts with line number keys,
+ # or mapping filenames to dicts with line number pairs as keys.
self.data = {}
self.plugin_data = {}
diff --git a/coverage/control.py b/coverage/control.py
index c59424df..78d3b0a7 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -695,7 +695,7 @@ class Coverage(object):
if self.omit_match and self.omit_match.match(py_file):
# Turns out this file was omitted, so don't pull it back
- # in as un-executed.
+ # in as unexecuted.
continue
self.data.touch_file(py_file)