diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-20 02:17:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-20 02:17:19 +0400 |
commit | 98e69124807b9a5e16b617c89347fc77072e9b38 (patch) | |
tree | 682b17e9cbd03eb447962f2d6743ad849272e6e3 /doc/python_api/examples | |
parent | a8f23a96a4f804bbf8d1ef67acfc4f8a57c319b1 (diff) |
style cleanup
Diffstat (limited to 'doc/python_api/examples')
-rw-r--r-- | doc/python_api/examples/bpy.ops.2.py | 1 | ||||
-rw-r--r-- | doc/python_api/examples/bpy.ops.3.py | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/doc/python_api/examples/bpy.ops.2.py b/doc/python_api/examples/bpy.ops.2.py index 86b7438888c..575d020a5a0 100644 --- a/doc/python_api/examples/bpy.ops.2.py +++ b/doc/python_api/examples/bpy.ops.2.py @@ -15,4 +15,3 @@ you would pass {'active_object': object}. import bpy override = {'selected_bases': list(bpy.context.scene.object_bases)} bpy.ops.object.delete(override) - diff --git a/doc/python_api/examples/bpy.ops.3.py b/doc/python_api/examples/bpy.ops.3.py index 0b5bcafe5be..7dec69cf566 100644 --- a/doc/python_api/examples/bpy.ops.3.py +++ b/doc/python_api/examples/bpy.ops.3.py @@ -9,10 +9,9 @@ import bpy for window in bpy.context.window_manager.windows: screen = window.screen - + for area in screen.areas: if area.type == 'VIEW_3D': override = {'window': window, 'screen': screen, 'area': area} bpy.ops.screen.screen_full_area(override) break - |