From 9177b39fb37d695807c0b28f1db1477f435a5466 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 24 Oct 2009 12:29:34 -0400 Subject: Everything should derive from object. --- coverage/parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coverage/parser.py') 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): -- cgit v1.2.1