summaryrefslogtreecommitdiff
path: root/coverage/parser.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2014-05-18 21:26:57 -0400
committerNed Batchelder <ned@nedbatchelder.com>2014-05-18 21:26:57 -0400
commit15a675c32d58a46d5dad2d4b56e1fa67dd25b209 (patch)
treedb8d5f3f57188a822a16f868e3db631a70c5088a /coverage/parser.py
parent5041e9590c5198f3b3cc07cc62b75a8b79898b71 (diff)
downloadpython-coveragepy-15a675c32d58a46d5dad2d4b56e1fa67dd25b209.tar.gz
Continued refactoring of CodeUnit
Diffstat (limited to 'coverage/parser.py')
-rw-r--r--coverage/parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/parser.py b/coverage/parser.py
index 88aad65..5bb1546 100644
--- a/coverage/parser.py
+++ b/coverage/parser.py
@@ -30,7 +30,7 @@ class CodeParser(object):
class PythonParser(CodeParser):
"""Parse code to find executable lines, excluded lines, etc."""
- def __init__(self, cu, text=None, filename=None, exclude=None):
+ def __init__(self, text=None, filename=None, exclude=None):
"""
Source can be provided as `text`, the text itself, or `filename`, from
which the text will be read. Excluded lines are those that match