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
commitcefd14cafc49a244c865885c87f019217d6d3a2f (patch)
treea87de4c05590917157b4e1a69617a94247daf48a /coverage/parser.py
parent8b7c4c1bf2bd0ea40c6da1c9d09f4f978835fa3b (diff)
downloadpython-coveragepy-git-cefd14cafc49a244c865885c87f019217d6d3a2f.tar.gz
Bytecode not byte code
--HG-- branch : ast-branch
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 32a75900..16419ca4 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):