diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-10-24 12:29:34 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-10-24 12:29:34 -0400 |
commit | 9177b39fb37d695807c0b28f1db1477f435a5466 (patch) | |
tree | 46eb1ecdf934a10e9aed25380d5fbb590b6ca9e2 /coverage/parser.py | |
parent | a76d63809c96078c49d4858073aeaf5a7bd63fd5 (diff) | |
download | python-coveragepy-git-9177b39fb37d695807c0b28f1db1477f435a5466.tar.gz |
Everything should derive from object.
Diffstat (limited to 'coverage/parser.py')
-rw-r--r-- | coverage/parser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/parser.py b/coverage/parser.py index ec13a379..15ecdc62 100644 --- a/coverage/parser.py +++ b/coverage/parser.py @@ -7,7 +7,7 @@ from coverage.bytecode import ByteCodes, CodeObjects from coverage.misc import nice_pair, CoverageException -class CodeParser: +class CodeParser(object): """Parse code to find executable lines, excluded lines, etc.""" def __init__(self, text=None, filename=None, exclude=None): @@ -215,7 +215,7 @@ OP_BREAK_LOOP = _opcode('BREAK_LOOP') OP_END_FINALLY = _opcode('END_FINALLY') -class ByteParser: +class ByteParser(object): """Parse byte codes to understand the structure of code.""" def __init__(self, code=None, text=None, filename=None): |