diff options
Diffstat (limited to 'bench/env.__setitem__.py')
-rw-r--r-- | bench/env.__setitem__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/env.__setitem__.py b/bench/env.__setitem__.py index 54ac92f..b17b59e 100644 --- a/bench/env.__setitem__.py +++ b/bench/env.__setitem__.py @@ -16,7 +16,7 @@ import timeit # These wrap the basic timeit function to make it a little more # convenient to do side-by-side tests of code. -class Timing: +class Timing(object): def __init__(self, name, num, init, statement): self.__timer = timeit.Timer(statement, init) self.__num = num @@ -93,7 +93,7 @@ global_valid_var = re.compile(r'[_a-zA-Z]\w*$') # After we're done should be the one that shows up at the top of the # list as we run our timings. -class Environment: +class Environment(object): _special_set = { 'BUILDERS' : None, 'SCANNERS' : None, |