diff options
Diffstat (limited to 'doc/python_api')
-rw-r--r-- | doc/python_api/examples/bpy.props.3.py | 2 | ||||
-rw-r--r-- | doc/python_api/examples/bpy.props.5.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/python_api/examples/bpy.props.3.py b/doc/python_api/examples/bpy.props.3.py index e0b2cf419d2..807edde8f58 100644 --- a/doc/python_api/examples/bpy.props.3.py +++ b/doc/python_api/examples/bpy.props.3.py @@ -20,7 +20,7 @@ bpy.types.Scene.my_settings = \ bpy.props.CollectionProperty(type=SceneSettingItem) # Assume an armature object selected -print("Adding 3 values!") +print("Adding 2 values!") my_item = bpy.context.scene.my_settings.add() my_item.name = "Spam" diff --git a/doc/python_api/examples/bpy.props.5.py b/doc/python_api/examples/bpy.props.5.py index 4e9d61d5385..87741cbab8a 100644 --- a/doc/python_api/examples/bpy.props.5.py +++ b/doc/python_api/examples/bpy.props.5.py @@ -48,9 +48,9 @@ bpy.types.Scene.test_array = bpy.props.BoolVectorProperty(size=2, get=get_array, # Note: the getter/setter callback must use integer identifiers! test_items = [ ("RED", "Red", "", 1), - ("GREEN", "Red", "", 2), - ("BLUE", "Red", "", 3), - ("YELLOW", "Red", "", 4), + ("GREEN", "Green", "", 2), + ("BLUE", "Blue", "", 3), + ("YELLOW", "Yellow", "", 4), ] |