Fix mathutils docstring typos.
This commit is contained in:
		@@ -233,7 +233,7 @@ static PyObject *Euler_rotate_axis(EulerObject *self, PyObject *args)
 | 
				
			|||||||
PyDoc_STRVAR(Euler_rotate_doc,
 | 
					PyDoc_STRVAR(Euler_rotate_doc,
 | 
				
			||||||
".. method:: rotate(other)\n"
 | 
					".. method:: rotate(other)\n"
 | 
				
			||||||
"\n"
 | 
					"\n"
 | 
				
			||||||
"   Rotates the euler a by another mathutils value.\n"
 | 
					"   Rotates the euler by another mathutils value.\n"
 | 
				
			||||||
"\n"
 | 
					"\n"
 | 
				
			||||||
"   :arg other: rotation component of mathutils value\n"
 | 
					"   :arg other: rotation component of mathutils value\n"
 | 
				
			||||||
"   :type other: :class:`Euler`, :class:`Quaternion` or :class:`Matrix`\n"
 | 
					"   :type other: :class:`Euler`, :class:`Quaternion` or :class:`Matrix`\n"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1258,9 +1258,9 @@ static PyObject *Matrix_to_3x3(MatrixObject *self)
 | 
				
			|||||||
PyDoc_STRVAR(Matrix_to_translation_doc,
 | 
					PyDoc_STRVAR(Matrix_to_translation_doc,
 | 
				
			||||||
".. method:: to_translation()\n"
 | 
					".. method:: to_translation()\n"
 | 
				
			||||||
"\n"
 | 
					"\n"
 | 
				
			||||||
"   Return a the translation part of a 4 row matrix.\n"
 | 
					"   Return the translation part of a 4 row matrix.\n"
 | 
				
			||||||
"\n"
 | 
					"\n"
 | 
				
			||||||
"   :return: Return a the translation of a matrix.\n"
 | 
					"   :return: Return the translation of a matrix.\n"
 | 
				
			||||||
"   :rtype: :class:`Vector`\n"
 | 
					"   :rtype: :class:`Vector`\n"
 | 
				
			||||||
);
 | 
					);
 | 
				
			||||||
static PyObject *Matrix_to_translation(MatrixObject *self)
 | 
					static PyObject *Matrix_to_translation(MatrixObject *self)
 | 
				
			||||||
@@ -1281,9 +1281,9 @@ static PyObject *Matrix_to_translation(MatrixObject *self)
 | 
				
			|||||||
PyDoc_STRVAR(Matrix_to_scale_doc,
 | 
					PyDoc_STRVAR(Matrix_to_scale_doc,
 | 
				
			||||||
".. method:: to_scale()\n"
 | 
					".. method:: to_scale()\n"
 | 
				
			||||||
"\n"
 | 
					"\n"
 | 
				
			||||||
"   Return a the scale part of a 3x3 or 4x4 matrix.\n"
 | 
					"   Return the scale part of a 3x3 or 4x4 matrix.\n"
 | 
				
			||||||
"\n"
 | 
					"\n"
 | 
				
			||||||
"   :return: Return a the scale of a matrix.\n"
 | 
					"   :return: Return the scale of a matrix.\n"
 | 
				
			||||||
"   :rtype: :class:`Vector`\n"
 | 
					"   :rtype: :class:`Vector`\n"
 | 
				
			||||||
"\n"
 | 
					"\n"
 | 
				
			||||||
"   .. note:: This method does not return negative a scale on any axis because it is not possible to obtain this data from the matrix alone.\n"
 | 
					"   .. note:: This method does not return negative a scale on any axis because it is not possible to obtain this data from the matrix alone.\n"
 | 
				
			||||||
@@ -1589,7 +1589,7 @@ static PyObject *Matrix_adjugated(MatrixObject *self)
 | 
				
			|||||||
PyDoc_STRVAR(Matrix_rotate_doc,
 | 
					PyDoc_STRVAR(Matrix_rotate_doc,
 | 
				
			||||||
".. method:: rotate(other)\n"
 | 
					".. method:: rotate(other)\n"
 | 
				
			||||||
"\n"
 | 
					"\n"
 | 
				
			||||||
"   Rotates the matrix a by another mathutils value.\n"
 | 
					"   Rotates the matrix by another mathutils value.\n"
 | 
				
			||||||
"\n"
 | 
					"\n"
 | 
				
			||||||
"   :arg other: rotation component of mathutils value\n"
 | 
					"   :arg other: rotation component of mathutils value\n"
 | 
				
			||||||
"   :type other: :class:`Euler`, :class:`Quaternion` or :class:`Matrix`\n"
 | 
					"   :type other: :class:`Euler`, :class:`Quaternion` or :class:`Matrix`\n"
 | 
				
			||||||
@@ -1715,7 +1715,7 @@ PyDoc_STRVAR(Matrix_determinant_doc,
 | 
				
			|||||||
"\n"
 | 
					"\n"
 | 
				
			||||||
"   Return the determinant of a matrix.\n"
 | 
					"   Return the determinant of a matrix.\n"
 | 
				
			||||||
"\n"
 | 
					"\n"
 | 
				
			||||||
"   :return: Return a the determinant of a matrix.\n"
 | 
					"   :return: Return the determinant of a matrix.\n"
 | 
				
			||||||
"   :rtype: float\n"
 | 
					"   :rtype: float\n"
 | 
				
			||||||
"\n"
 | 
					"\n"
 | 
				
			||||||
"   .. seealso:: <http://en.wikipedia.org/wiki/Determinant>\n"
 | 
					"   .. seealso:: <http://en.wikipedia.org/wiki/Determinant>\n"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -303,7 +303,7 @@ static PyObject *Quaternion_slerp(QuaternionObject *self, PyObject *args)
 | 
				
			|||||||
PyDoc_STRVAR(Quaternion_rotate_doc,
 | 
					PyDoc_STRVAR(Quaternion_rotate_doc,
 | 
				
			||||||
".. method:: rotate(other)\n"
 | 
					".. method:: rotate(other)\n"
 | 
				
			||||||
"\n"
 | 
					"\n"
 | 
				
			||||||
"   Rotates the quaternion a by another mathutils value.\n"
 | 
					"   Rotates the quaternion by another mathutils value.\n"
 | 
				
			||||||
"\n"
 | 
					"\n"
 | 
				
			||||||
"   :arg other: rotation component of mathutils value\n"
 | 
					"   :arg other: rotation component of mathutils value\n"
 | 
				
			||||||
"   :type other: :class:`Euler`, :class:`Quaternion` or :class:`Matrix`\n"
 | 
					"   :type other: :class:`Euler`, :class:`Quaternion` or :class:`Matrix`\n"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -697,12 +697,12 @@ static PyObject *M_Geometry_intersect_plane_plane(PyObject *UNUSED(self), PyObje
 | 
				
			|||||||
PyDoc_STRVAR(M_Geometry_intersect_line_sphere_doc,
 | 
					PyDoc_STRVAR(M_Geometry_intersect_line_sphere_doc,
 | 
				
			||||||
".. function:: intersect_line_sphere(line_a, line_b, sphere_co, sphere_radius, clip=True)\n"
 | 
					".. function:: intersect_line_sphere(line_a, line_b, sphere_co, sphere_radius, clip=True)\n"
 | 
				
			||||||
"\n"
 | 
					"\n"
 | 
				
			||||||
"   Takes a lines (as 2 vectors), a sphere as a point and a radius and\n"
 | 
					"   Takes a line (as 2 points) and a sphere (as a point and a radius) and\n"
 | 
				
			||||||
"   returns the intersection\n"
 | 
					"   returns the intersection\n"
 | 
				
			||||||
"\n"
 | 
					"\n"
 | 
				
			||||||
"   :arg line_a: First point of the first line\n"
 | 
					"   :arg line_a: First point of the line\n"
 | 
				
			||||||
"   :type line_a: :class:`mathutils.Vector`\n"
 | 
					"   :type line_a: :class:`mathutils.Vector`\n"
 | 
				
			||||||
"   :arg line_b: Second point of the first line\n"
 | 
					"   :arg line_b: Second point of the line\n"
 | 
				
			||||||
"   :type line_b: :class:`mathutils.Vector`\n"
 | 
					"   :type line_b: :class:`mathutils.Vector`\n"
 | 
				
			||||||
"   :arg sphere_co: The center of the sphere\n"
 | 
					"   :arg sphere_co: The center of the sphere\n"
 | 
				
			||||||
"   :type sphere_co: :class:`mathutils.Vector`\n"
 | 
					"   :type sphere_co: :class:`mathutils.Vector`\n"
 | 
				
			||||||
@@ -778,12 +778,12 @@ static PyObject *M_Geometry_intersect_line_sphere(PyObject *UNUSED(self), PyObje
 | 
				
			|||||||
PyDoc_STRVAR(M_Geometry_intersect_line_sphere_2d_doc,
 | 
					PyDoc_STRVAR(M_Geometry_intersect_line_sphere_2d_doc,
 | 
				
			||||||
".. function:: intersect_line_sphere_2d(line_a, line_b, sphere_co, sphere_radius, clip=True)\n"
 | 
					".. function:: intersect_line_sphere_2d(line_a, line_b, sphere_co, sphere_radius, clip=True)\n"
 | 
				
			||||||
"\n"
 | 
					"\n"
 | 
				
			||||||
"   Takes a lines (as 2 vectors), a sphere as a point and a radius and\n"
 | 
					"   Takes a line (as 2 points) and a sphere (as a point and a radius) and\n"
 | 
				
			||||||
"   returns the intersection\n"
 | 
					"   returns the intersection\n"
 | 
				
			||||||
"\n"
 | 
					"\n"
 | 
				
			||||||
"   :arg line_a: First point of the first line\n"
 | 
					"   :arg line_a: First point of the line\n"
 | 
				
			||||||
"   :type line_a: :class:`mathutils.Vector`\n"
 | 
					"   :type line_a: :class:`mathutils.Vector`\n"
 | 
				
			||||||
"   :arg line_b: Second point of the first line\n"
 | 
					"   :arg line_b: Second point of the line\n"
 | 
				
			||||||
"   :type line_b: :class:`mathutils.Vector`\n"
 | 
					"   :type line_b: :class:`mathutils.Vector`\n"
 | 
				
			||||||
"   :arg sphere_co: The center of the sphere\n"
 | 
					"   :arg sphere_co: The center of the sphere\n"
 | 
				
			||||||
"   :type sphere_co: :class:`mathutils.Vector`\n"
 | 
					"   :type sphere_co: :class:`mathutils.Vector`\n"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user