diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-09-17 12:36:17 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-09-17 12:36:17 +0400 |
commit | 0e0e528ea4f9529a549ab50a6a2da7a3187258a8 (patch) | |
tree | 665ad9cb332268f7639e00ad665bbdf8d14a7a8b /doc/python_api/examples | |
parent | f0f398dcf3101079f4965185eb82c23c54fc6923 (diff) |
Cleanup: pep8
Diffstat (limited to 'doc/python_api/examples')
-rw-r--r-- | doc/python_api/examples/bpy.props.5.py | 2 | ||||
-rw-r--r-- | doc/python_api/examples/bpy.types.bpy_prop_collection.foreach_get.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/doc/python_api/examples/bpy.props.5.py b/doc/python_api/examples/bpy.props.5.py index d2ace54de27..4e9d61d5385 100644 --- a/doc/python_api/examples/bpy.props.5.py +++ b/doc/python_api/examples/bpy.props.5.py @@ -75,7 +75,7 @@ print(scene.test_float) scene.test_array = (True, False) print([x for x in scene.test_array]) -#scene.test_date = "blah" # this would fail, property is read-only +# scene.test_date = "blah" # this would fail, property is read-only print(scene.test_date) scene.test_enum = 'BLUE' diff --git a/doc/python_api/examples/bpy.types.bpy_prop_collection.foreach_get.py b/doc/python_api/examples/bpy.types.bpy_prop_collection.foreach_get.py index 05163b332a9..a83b23e84f9 100644 --- a/doc/python_api/examples/bpy.types.bpy_prop_collection.foreach_get.py +++ b/doc/python_api/examples/bpy.types.bpy_prop_collection.foreach_get.py @@ -8,4 +8,3 @@ collection.foreach_get(attr, some_seq) # Python equivalent for i in range(len(seq)): some_seq[i] = getattr(collection[i], attr) - |