Docs: correct indent for to_swing_twist docstring

This commit is contained in:
Campbell Barton
2019-11-16 01:30:07 +11:00
parent 49db3f6bf1
commit f64064e4b1

View File

@@ -203,7 +203,7 @@ static PyObject *Quaternion_to_swing_twist(QuaternionObject *self, PyObject *axi
else {
PyErr_SetString(PyExc_ValueError,
"Quaternion.to_swing_twist(): "
"the axis agrument must be "
"the axis argument must be "
"a string in 'X', 'Y', 'Z'");
return NULL;
}
@@ -226,7 +226,7 @@ PyDoc_STRVAR(
"\n"
" Return the exponential map representation of the quaternion.\n"
"\n"
" This representation consist of the rotation axis multiplied by the rotation angle."
" This representation consist of the rotation axis multiplied by the rotation angle.\n"
" Such a representation is useful for interpolation between multiple orientations.\n"
"\n"
" :return: exponential map.\n"