summaryrefslogtreecommitdiffstats
path: root/SCons/Memoize.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2019-08-16 14:19:20 (GMT)
committerMats Wichmann <mats@linux.com>2022-03-15 14:39:44 (GMT)
commitff81eebb73825091051e5ee846d0d89c60798112 (patch)
treebb02c3ff5d48f0322c0b5fbf2c14b1c7ae2f6908 /SCons/Memoize.py
parent57369e87ba560f941e645e9d2ed194bd4a26dad5 (diff)
downloadSCons-ff81eebb73825091051e5ee846d0d89c60798112.zip
SCons-ff81eebb73825091051e5ee846d0d89c60798112.tar.gz
SCons-ff81eebb73825091051e5ee846d0d89c60798112.tar.bz2
Use super call instead of direct class call
- super used where direct call to superclass existed - convert a few older-style super() (two-argument) uses - in a few places, where there was an intersection with a super change, variables that override a builtin (e.g. "dict") were renamed. Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'SCons/Memoize.py')
-rw-r--r--SCons/Memoize.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/SCons/Memoize.py b/SCons/Memoize.py
index 8c3303f..b02c144 100644
--- a/SCons/Memoize.py
+++ b/SCons/Memoize.py
@@ -159,7 +159,7 @@ class CountDict(Counter):
def __init__(self, cls_name, method_name, keymaker):
"""
"""
- Counter.__init__(self, cls_name, method_name)
+ super().__init__(cls_name, method_name)
self.keymaker = keymaker
def count(self, *args, **kw):
""" Counts whether the computed key value is already present