summaryrefslogtreecommitdiffstats
path: root/SCons/Executor.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2020-05-23 13:46:18 (GMT)
committerMats Wichmann <mats@linux.com>2020-05-24 15:27:22 (GMT)
commit5b288f1b67a85bcccc533f101311b1c2c7f2b6eb (patch)
treeadca21d96e435443cbc90985f53f67b85530a6c2 /SCons/Executor.py
parent0e76754e652e974f82f975d2cf526d5f7705baab (diff)
downloadSCons-5b288f1b67a85bcccc533f101311b1c2c7f2b6eb.zip
SCons-5b288f1b67a85bcccc533f101311b1c2c7f2b6eb.tar.gz
SCons-5b288f1b67a85bcccc533f101311b1c2c7f2b6eb.tar.bz2
classes no longer explicitly inherit from object
In Python3 this is the default. Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'SCons/Executor.py')
-rw-r--r--SCons/Executor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/SCons/Executor.py b/SCons/Executor.py
index e012ab6..f658229 100644
--- a/SCons/Executor.py
+++ b/SCons/Executor.py
@@ -37,7 +37,7 @@ import SCons.Memoize
import SCons.Util
from SCons.compat import NoSlotsPyPy
-class Batch(object):
+class Batch:
"""Remembers exact association between targets
and sources of executor."""
@@ -79,7 +79,7 @@ class TSList(collections.UserList):
nl = self.func()
return repr(nl)
-class TSObject(object):
+class TSObject:
"""A class that implements $TARGET or $SOURCE expansions by wrapping
an Executor method.
"""