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
path: root/doc
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-11-24 23:36:12 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-24 23:36:12 +0400
commit6e28ac2d7b241d9ee859650d58a89e2b7d441ea7 (patch)
tree5a1aaeb5131a5ca240bd88e93b9fba0bdcaa1f30 /doc
parentddfc518caea168ae1882e717ef28a35f91705a14 (diff)
pep8 edits and avoid naming conflicts with python builtins
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/examples/bge.texture.1.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/python_api/examples/bge.texture.1.py b/doc/python_api/examples/bge.texture.1.py
index 4be6f51de67..918ffc9772d 100644
--- a/doc/python_api/examples/bge.texture.1.py
+++ b/doc/python_api/examples/bge.texture.1.py
@@ -11,13 +11,13 @@ from bge import texture
def createTexture(cont):
"""Create a new Dynamic Texture"""
- object = cont.owner
+ obj = cont.owner
# get the reference pointer (ID) of the internal texture
- ID = texture.materialID(object, 'IMoriginal.png')
+ ID = texture.materialID(obj, 'IMoriginal.png')
# create a texture object
- object_texture = texture.Texture(object, ID)
+ object_texture = texture.Texture(obj, ID)
# create a new source with an external image
url = logic.expandPath("//newtexture.jpg")