From 4f6f24752bcaa18db129c0a0daf1ceb358d5865a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 23 Jun 2013 19:04:12 +0000 Subject: [PATCH] correct example [#35850] documentation error for mathutils.Vector --- doc/python_api/examples/mathutils.Vector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))