Cleanup: remove redundant 'object' parent class
authorCampbell Barton <ideasman42@gmail.com>
Tue, 28 Oct 2014 17:42:06 +0000 (18:42 +0100)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 28 Oct 2014 17:42:06 +0000 (18:42 +0100)
release/scripts/modules/animsys_refactor.py
release/scripts/modules/bpy/ops.py
release/scripts/modules/bpyml.py
release/scripts/startup/bl_operators/uvcalc_lightmap.py
release/scripts/startup/bl_operators/uvcalc_smart_project.py

index aaa06c32312825104cff485adc8c28f2ecea499c..39f0ad2f0497f8c71de014b50d36b078fd95d774 100644 (file)
@@ -51,7 +51,7 @@ def classes_recursive(base_type, clss=None):
     return clss
 
 
-class DataPathBuilder(object):
+class DataPathBuilder:
     """Dummy class used to parse fcurve and driver data paths."""
     __slots__ = ("data_path", )
 
index f5455ce5018a2837a458648ba927267929cfb85e..1bdb9eba48cce4fe32dd85b6232ac931d00b00ee 100644 (file)
@@ -30,7 +30,7 @@ op_get_rna = ops_module.get_rna
 op_get_instance = ops_module.get_instance
 
 
-class BPyOps(object):
+class BPyOps:
     """
     Fake module like class.
 
@@ -68,7 +68,7 @@ class BPyOps(object):
         return "<module like class 'bpy.ops'>"
 
 
-class BPyOpsSubMod(object):
+class BPyOpsSubMod:
     """
     Utility class to fake submodules.
 
@@ -104,7 +104,7 @@ class BPyOpsSubMod(object):
         return "<module like class 'bpy.ops.%s'>" % self._module
 
 
-class BPyOpsSubModOp(object):
+class BPyOpsSubModOp:
     """
     Utility class to fake submodule operators.
 
index e942006010b706d4ffe8e2a5a91c5ce3e998dbe8..f2a735016722319591d8a2f8f28e007524ef9301 100644 (file)
@@ -57,7 +57,7 @@ class ReturnStore(tuple):
             return tuple.__getitem__(self, key)
 
 
-class FunctionStore(object):
+class FunctionStore:
     def __call__(self, **kwargs):
         return ReturnStore((self.__class__.__name__, kwargs, []))
 
index 8f618e0632e27cccf9b986c3be6be597bc02a9cc..a120e2b24611c39172cda9a67ede12ad92960d6c 100644 (file)
@@ -23,7 +23,7 @@ from bpy.types import Operator
 import mathutils
 
 
-class prettyface(object):
+class prettyface:
     __slots__ = (
         "uv",
         "width",
index aa8a1742c1e6871f8494f59ab67f23a7d1cc5d8b..f29bf07ab3a2ac049ec4bb08e1c4012e864d8046 100644 (file)
@@ -670,7 +670,7 @@ def VectoQuat(vec):
     return vec.to_track_quat('Z', 'X' if abs(vec.x) > 0.5 else 'Y').inverted()
 
 
-class thickface(object):
+class thickface:
     __slost__= "v", "uv", "no", "area", "edge_keys"
     def __init__(self, face, uv_layer, mesh_verts):
         self.v = [mesh_verts[i] for i in face.vertices]