From 532c8ac58384309e77791e32ab78f448ad2a76a6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 26 Jun 2018 19:41:37 +0200 Subject: Cleanup: pep8 function indentation --- doc/python_api/examples/bpy.types.Menu.4.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/python_api/examples/bpy.types.Menu.4.py') diff --git a/doc/python_api/examples/bpy.types.Menu.4.py b/doc/python_api/examples/bpy.types.Menu.4.py index 04ceb6654da..869def8bfe0 100644 --- a/doc/python_api/examples/bpy.types.Menu.4.py +++ b/doc/python_api/examples/bpy.types.Menu.4.py @@ -60,6 +60,7 @@ def menu_func(self, context): layout.separator() layout.operator(WM_OT_button_context_test.bl_idname) + classes = ( WM_OT_button_context_test, WM_MT_button_context, @@ -77,5 +78,6 @@ def unregister(): bpy.utils.unregister_class(cls) bpy.types.WM_MT_button_context.remove(menu_func) + if __name__ == "__main__": register() -- cgit v1.2.3