[Bf-blender-cvs] [98111509522] master: Improve docstring for mathutils.Matrix.decompose()

Sybren A. Stüvel noreply at git.blender.org
Thu Jan 18 09:38:27 CET 2018


Commit: 98111509522a52e81eddbe26f7264d7ea228fb05
Author: Sybren A. Stüvel
Date:   Thu Jan 18 09:37:54 2018 +0100
Branches: master
https://developer.blender.org/rB98111509522a52e81eddbe26f7264d7ea228fb05

Improve docstring for mathutils.Matrix.decompose()

===================================================================

M	source/blender/python/mathutils/mathutils_Matrix.c

===================================================================

diff --git a/source/blender/python/mathutils/mathutils_Matrix.c b/source/blender/python/mathutils/mathutils_Matrix.c
index 2578b19d5ec..29279d7dcb7 100644
--- a/source/blender/python/mathutils/mathutils_Matrix.c
+++ b/source/blender/python/mathutils/mathutils_Matrix.c
@@ -1641,9 +1641,9 @@ static PyObject *Matrix_rotate(MatrixObject *self, PyObject *value)
 PyDoc_STRVAR(Matrix_decompose_doc,
 ".. method:: decompose()\n"
 "\n"
-"   Return the translation, rotation and scale components of this matrix.\n"
+"   Return the translation, rotation, and scale components of this matrix.\n"
 "\n"
-"   :return: trans, rot, scale triple.\n"
+"   :return: tuple of translation, rotation, and scale\n"
 "   :rtype: (:class:`Vector`, :class:`Quaternion`, :class:`Vector`)"
 );
 static PyObject *Matrix_decompose(MatrixObject *self)



More information about the Bf-blender-cvs mailing list