1. SCons
  2. Core
  3. SCons


SCons / bench / env.__setitem__.py

Diff from to

File bench/env.__setitem__.py

  • Ignore whitespace
 # 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
 # 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,