Cleanup: Use annotation for the new class

This commit is contained in:
Sergey Sharybin
2018-11-06 09:57:03 +01:00
parent 798cdaeeb6
commit 32dca36afb

View File

@@ -44,7 +44,7 @@ class CONSTRAINT_OT_remove_target(Operator):
bl_label = "Remove Target"
bl_options = {'UNDO', 'INTERNAL'}
index = IntProperty()
index: IntProperty()
def execute(self, context):
tgts = context.constraint.targets