diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2014-05-18 21:26:57 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2014-05-18 21:26:57 -0400 |
commit | a189b3bb1846d8e0c7b003a94af69822d3890f9e (patch) | |
tree | 497511cde2ab9cbaf42198ba66afa2c1e45ae927 /coverage/parser.py | |
parent | 32782e38316c8bb3cf9d6f8b5c62081177399ffe (diff) | |
download | python-coveragepy-git-a189b3bb1846d8e0c7b003a94af69822d3890f9e.tar.gz |
Continued refactoring of CodeUnit
Diffstat (limited to 'coverage/parser.py')
-rw-r--r-- | coverage/parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/parser.py b/coverage/parser.py index 88aad65f..5bb15466 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 |