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:
authorCampbell Barton <ideasman42@gmail.com>2018-11-14 01:04:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-14 01:26:53 +0300
commita5a86f39212fb16c8310d8eca67ccecc4c6f7dd7 (patch)
treec33801934b9fb208f8affe7df636f9c69fbf57bb /source/blender/python/mathutils
parentfe566a30f3c7ae835c1f2750fb773073b8e40622 (diff)
Cleanup: python doc-strings
Indentation & trailing space.
Diffstat (limited to 'source/blender/python/mathutils')
-rw-r--r--source/blender/python/mathutils/mathutils_Quaternion.c12
-rw-r--r--source/blender/python/mathutils/mathutils_geometry.c2
2 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/python/mathutils/mathutils_Quaternion.c b/source/blender/python/mathutils/mathutils_Quaternion.c
index bf603502ec2..645fa96c22e 100644
--- a/source/blender/python/mathutils/mathutils_Quaternion.c
+++ b/source/blender/python/mathutils/mathutils_Quaternion.c
@@ -1260,17 +1260,17 @@ PyDoc_STRVAR(quaternion_doc,
" The constructor takes arguments in various forms:\n"
"\n"
" (), *no args*\n"
-" Create an identity quaternion\n"
+" Create an identity quaternion\n"
" (*wxyz*)\n"
-" Create a quaternion from a ``(w, x, y, z)`` vector.\n"
+" Create a quaternion from a ``(w, x, y, z)`` vector.\n"
" (*exponential_map*)\n"
-" Create a quaternion from a 3d exponential map vector.\n"
+" Create a quaternion from a 3d exponential map vector.\n"
"\n"
-" .. seealso:: :meth:`to_exponential_map`\n"
+" .. seealso:: :meth:`to_exponential_map`\n"
" (*axis, angle*)\n"
-" Create a quaternion representing a rotation of *angle* radians over *axis*.\n"
+" Create a quaternion representing a rotation of *angle* radians over *axis*.\n"
"\n"
-" .. seealso:: :meth:`to_axis_angle`\n"
+" .. seealso:: :meth:`to_axis_angle`\n"
);
PyTypeObject quaternion_Type = {
PyVarObject_HEAD_INIT(NULL, 0)
diff --git a/source/blender/python/mathutils/mathutils_geometry.c b/source/blender/python/mathutils/mathutils_geometry.c
index c759653c5cf..371733ea147 100644
--- a/source/blender/python/mathutils/mathutils_geometry.c
+++ b/source/blender/python/mathutils/mathutils_geometry.c
@@ -860,7 +860,7 @@ static PyObject *M_Geometry_intersect_point_tri_2d(PyObject *UNUSED(self), PyObj
PyDoc_STRVAR(M_Geometry_intersect_point_quad_2d_doc,
".. function:: intersect_point_quad_2d(pt, quad_p1, quad_p2, quad_p3, quad_p4)\n"
"\n"
-" Takes 5 vectors (using only the x and y coordinates): one is the point and the next 4 define the quad, \n"
+" Takes 5 vectors (using only the x and y coordinates): one is the point and the next 4 define the quad,\n"
" only the x and y are used from the vectors. Returns 1 if the point is within the quad, otherwise 0.\n"
" Works only with convex quads without singular edges.\n"
"\n"