Fix T42885: We still had a few wrong doc in mathutils about methods returning

instance of self while actually returning None...
This commit is contained in:
Bastien Montagne 2014-12-13 14:06:23 +01:00
parent d6beaad01c
commit 9c81833430
Notes: blender-bot 2024-02-09 10:27:24 +01:00
Referenced by issue #42894, Strange wrong selection behavior
Referenced by issue #42885, mathutils.Matrix.Identity(4).zero() returns None
Referenced by pull request #118003, Fix return types in docs for matrix.zero, quat's .negate and .identity
Referenced by commit 8144252aa9, Fix return types in docs for matrix.zero, quat's .negate and .identity
2 changed files with 0 additions and 3 deletions

View File

@ -1836,7 +1836,6 @@ PyDoc_STRVAR(Matrix_zero_doc,
"\n"
" Set all the matrix values to zero.\n"
"\n"
" :return: an instance of itself\n"
" :rtype: :class:`Matrix`\n"
);
static PyObject *Matrix_zero(MatrixObject *self)

View File

@ -393,7 +393,6 @@ PyDoc_STRVAR(Quaternion_identity_doc,
"\n"
" Set the quaternion to an identity quaternion.\n"
"\n"
" :return: an instance of itself.\n"
" :rtype: :class:`Quaternion`\n"
);
static PyObject *Quaternion_identity(QuaternionObject *self)
@ -412,7 +411,6 @@ PyDoc_STRVAR(Quaternion_negate_doc,
"\n"
" Set the quaternion to its negative.\n"
"\n"
" :return: an instance of itself.\n"
" :rtype: :class:`Quaternion`\n"
);
static PyObject *Quaternion_negate(QuaternionObject *self)