From bc4fe45aef7e52f9e7a2bd5e370c6791c58af832 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 14 Aug 2019 23:25:30 +1000 Subject: [PATCH] Cleanup: pep8, prefix unused arg --- release/scripts/startup/bl_operators/wm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py index 3f25c35973d..d59ad0694db 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -1115,12 +1115,12 @@ class WM_OT_properties_edit(Operator): ) subtype: EnumProperty( name="Subtype", - items=lambda self,ctx: WM_OT_properties_edit.subtype_items, + items=lambda self, _context: WM_OT_properties_edit.subtype_items, ) subtype_items = rna_vector_subtype_items - def init_subtype(self, prop_type, is_array, subtype): + def _init_subtype(self, prop_type, is_array, subtype): subtype = subtype or 'NONE' subtype_items = rna_vector_subtype_items @@ -1314,7 +1314,7 @@ class WM_OT_properties_edit(Operator): else: subtype = None - self.init_subtype(prop_type, is_array, subtype) + self._init_subtype(prop_type, is_array, subtype) # store for comparison self._cmp_props = self._cmp_props_get()