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>2018-06-26 20:41:37 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-26 20:58:56 +0300
commit532c8ac58384309e77791e32ab78f448ad2a76a6 (patch)
treecef77b98714aaed13ec8317bc9bb763d00aa1a02 /doc/python_api/examples/bpy.types.Menu.4.py
parentecb56eac57e66c1c925860e05438c9f245bff505 (diff)
Cleanup: pep8 function indentation
Diffstat (limited to 'doc/python_api/examples/bpy.types.Menu.4.py')
-rw-r--r--doc/python_api/examples/bpy.types.Menu.4.py2
1 files changed, 2 insertions, 0 deletions
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()