summaryrefslogtreecommitdiff
path: root/coverage/parser.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-01-07 08:46:35 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-01-07 08:46:35 -0500
commitfd524de906c72855360f05f5a80cc1b540895829 (patch)
tree24ae718619cb4718a8c7bee2d99ce3b904f04a24 /coverage/parser.py
parent4a08806f814fc350187537d10081f2dfb4195396 (diff)
downloadpython-coveragepy-fd524de906c72855360f05f5a80cc1b540895829.tar.gz
Bytecode not byte code
Diffstat (limited to 'coverage/parser.py')
-rw-r--r--coverage/parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/parser.py b/coverage/parser.py
index 32a7590..16419ca 100644
--- a/coverage/parser.py
+++ b/coverage/parser.py
@@ -142,7 +142,7 @@ class PythonParser(object):
indent -= 1
elif toktype == token.NAME:
if ttext == 'class':
- # Class definitions look like branches in the byte code, so
+ # Class definitions look like branches in the bytecode, so
# we need to exclude them. The simplest way is to note the
# lines with the 'class' keyword.
self.raw_classdefs.add(slineno)
@@ -720,7 +720,7 @@ class AstArcAnalyzer(object):
class ByteParser(object):
- """Parse byte codes to understand the structure of code."""
+ """Parse bytecode to understand the structure of code."""
@contract(text='unicode')
def __init__(self, text, code=None, filename=None):