mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cleanup: pep8
This commit is contained in:
parent
f0f398dcf3
commit
0e0e528ea4
27 changed files with 82 additions and 95 deletions
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue