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:
Diffstat (limited to 'source/blender/python/api2_2x/doc/World.py')
-rw-r--r--source/blender/python/api2_2x/doc/World.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/source/blender/python/api2_2x/doc/World.py b/source/blender/python/api2_2x/doc/World.py
index e952e58abd1..476ddbdb1a4 100644
--- a/source/blender/python/api2_2x/doc/World.py
+++ b/source/blender/python/api2_2x/doc/World.py
@@ -5,15 +5,14 @@ The Blender.World submodule
INTRODUCTION
-The module world allows you to access all the data of an world.
-Example::
+The module world allows you to access all the data of a Blender World.
+Example::
import Blender
- w = Blender.Get('World') #assume there exists a world named "world"
- print w.GetName()
- w.hor = [1,1,.2]
- print w.Gethor()
-
+ w = Blender.Get('World') #assume there exists a world named "world"
+ print w.getName()
+ w.hor = [1,1,.2]
+ print w.getHor()
"""
def New (name):