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:
authorJacques Lucke <mail@jlucke.com>2019-06-06 18:12:49 +0300
committerJacques Lucke <mail@jlucke.com>2019-06-06 18:13:02 +0300
commit3a7af37e280276026e937aa95aefde11290741d2 (patch)
treece4843dcc7ace5705146f0e3104deb1517a98947 /doc/python_api/examples/bpy.types.Menu.1.py
parent3abb1695cfb177c0d8dbff89740ab2ca069c856e (diff)
Python API Docs: fix some examples
Diffstat (limited to 'doc/python_api/examples/bpy.types.Menu.1.py')
-rw-r--r--doc/python_api/examples/bpy.types.Menu.1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/examples/bpy.types.Menu.1.py b/doc/python_api/examples/bpy.types.Menu.1.py
index 8ccc1123c35..c07e647c660 100644
--- a/doc/python_api/examples/bpy.types.Menu.1.py
+++ b/doc/python_api/examples/bpy.types.Menu.1.py
@@ -24,7 +24,7 @@ class SubMenu(bpy.types.Menu):
layout.separator()
# expand each operator option into this menu
- layout.operator_enum("object.lamp_add", "type")
+ layout.operator_enum("object.light_add", "type")
layout.separator()