summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/man/scons.14
-rw-r--r--runtest.py4
-rw-r--r--src/test_strings.py2
3 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index 9fb0df25..fd2baa36 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -4834,7 +4834,7 @@ will overwrite itself on a display:
.ES
import sys
-class ProgressCounter:
+class ProgressCounter(object):
count = 0
def __call__(self, node, *args, **kw):
self.count += 100
@@ -9249,7 +9249,7 @@ be associated with the
instantiation of the class:
.ES
-class foo:
+class foo(object):
def __init__(self, arg):
self.arg = arg
diff --git a/runtest.py b/runtest.py
index eb2ec5e5..9246a4b8 100644
--- a/runtest.py
+++ b/runtest.py
@@ -362,7 +362,7 @@ else:
command_args = list(map(escape, command_args))
return os.spawnv(os.P_WAIT, command, command_args)
-class Base:
+class Base(object):
def __init__(self, path, spe=None):
self.path = path
self.abspath = os.path.abspath(path)
@@ -747,7 +747,7 @@ if qmtest:
tests = list(map(Test, tests))
-class Unbuffered:
+class Unbuffered(object):
def __init__(self, file):
self.file = file
self.softspace = 0 ## backward compatibility; not supported in Py3k
diff --git a/src/test_strings.py b/src/test_strings.py
index c6b1179d..012efc9d 100644
--- a/src/test_strings.py
+++ b/src/test_strings.py
@@ -52,7 +52,7 @@ build_scons = build_path('scons')
build_local = build_path('scons-local', 'scons-local-'+scons_version)
build_src = build_path('scons-src')
-class Checker:
+class Checker(object):
def __init__(self, directory,
search_list = [],
remove_list = [],