diff options
author | Mats Wichmann <mats@linux.com> | 2020-05-23 07:46:18 -0600 |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2020-05-24 09:27:22 -0600 |
commit | 5b288f1b67a85bcccc533f101311b1c2c7f2b6eb (patch) | |
tree | adca21d96e435443cbc90985f53f67b85530a6c2 /SCons/Environment.py | |
parent | 0e76754e652e974f82f975d2cf526d5f7705baab (diff) | |
download | scons-git-5b288f1b67a85bcccc533f101311b1c2c7f2b6eb.tar.gz |
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/Environment.py')
-rw-r--r-- | SCons/Environment.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/SCons/Environment.py b/SCons/Environment.py index db8af115d..0b4be1b77 100644 --- a/SCons/Environment.py +++ b/SCons/Environment.py @@ -60,7 +60,7 @@ import SCons.Tool import SCons.Util import SCons.Warnings -class _Null(object): +class _Null: pass _null = _Null @@ -191,7 +191,7 @@ def _delete_duplicates(l, keep_last): # BuilderWrapper a subclass that overrides __call__() to enforce specific # Builder calling conventions, simplified some of our higher-layer code. -class MethodWrapper(object): +class MethodWrapper: """ A generic Wrapper class that associates a method (which can actually be any callable) with an object. As part of creating this @@ -334,7 +334,7 @@ def is_valid_construction_var(varstr): -class SubstitutionEnvironment(object): +class SubstitutionEnvironment: """Base class for different flavors of construction environments. This class contains a minimal set of methods that handle construction |