Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-08-09 08:03:32 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-08-09 08:03:32 +0300
commitd3a699925d77809572f103853423473432d17d9b (patch)
tree585c010a43e74e9e8af67a3e4252876257e84b6e /release/scripts/modules/bpy_types.py
parenteb165f574b7433be39aa5cb9569e49b70ffb65c7 (diff)
Cleanup: use 'cls' for class methods first argument
Diffstat (limited to 'release/scripts/modules/bpy_types.py')
-rw-r--r--release/scripts/modules/bpy_types.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py
index 29b53aedf78..d60165f760c 100644
--- a/release/scripts/modules/bpy_types.py
+++ b/release/scripts/modules/bpy_types.py
@@ -761,9 +761,9 @@ class Macro(StructRNA):
__slots__ = ()
@classmethod
- def define(self, opname):
+ def define(cls, opname):
from _bpy import ops
- return ops.macro_define(self, opname)
+ return ops.macro_define(cls, opname)
class PropertyGroup(StructRNA, metaclass=RNAMetaPropGroup):