diff options
author | Steven Knight <knight@baldmt.com> | 2010-05-14 06:02:33 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2010-05-14 06:02:33 (GMT) |
commit | 6b2c93947170e8da3e449a4529b8296b0436f50c (patch) | |
tree | 0ce9f0e5e8a07d905b854d59901c95201fbe8cdc /src | |
parent | 55a26e1d2c8555af770c2a35207cfa86689a30da (diff) | |
download | SCons-6b2c93947170e8da3e449a4529b8296b0436f50c.zip SCons-6b2c93947170e8da3e449a4529b8296b0436f50c.tar.gz SCons-6b2c93947170e8da3e449a4529b8296b0436f50c.tar.bz2 |
Convert old-style classes in Memoize.py to new-style classes.
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/SCons/Memoize.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Memoize.py b/src/engine/SCons/Memoize.py index 98e3809..e77aacf 100644 --- a/src/engine/SCons/Memoize.py +++ b/src/engine/SCons/Memoize.py @@ -126,7 +126,7 @@ use_memoizer = None CounterList = [] -class Counter: +class Counter(object): """ Base class for counting memoization hits and misses. @@ -206,7 +206,7 @@ class CountDict(Counter): self.miss = self.miss + 1 return self.underlying_method(*args, **kw) -class Memoizer: +class Memoizer(object): """Object which performs caching of method calls for its 'primary' instance.""" |