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 'doc/python_api/examples/mathutils.Vector.py')
-rw-r--r--doc/python_api/examples/mathutils.Vector.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/examples/mathutils.Vector.py b/doc/python_api/examples/mathutils.Vector.py
index bf1fc70353f..14b8829c3b5 100644
--- a/doc/python_api/examples/mathutils.Vector.py
+++ b/doc/python_api/examples/mathutils.Vector.py
@@ -4,7 +4,7 @@ import mathutils
vec = mathutils.Vector((0.0, 0.0, 1.0))
# unit length vector
-vec_a = vec.copy().normalize()
+vec_a = vec.normalized()
vec_b = mathutils.Vector((0.0, 1.0, 2.0))