Fix return types in docs for matrix.zero, quat's .negate and .identity

Noticed in mathutils docs (and in python type hinter for mathutils) some methods doesn't return anything though docs stated that they return themselves and fixed the docs.
Related to 9c81833430

Pull Request: https://projects.blender.org/blender/blender/pulls/118011
This commit is contained in:
Andrej730
2024-02-09 10:24:44 +01:00
committed by Bastien Montagne
parent afa4391eeb
commit 8144252aa9
2 changed files with 3 additions and 9 deletions

View File

@@ -2172,9 +2172,7 @@ PyDoc_STRVAR(
Matrix_zero_doc,
".. method:: zero()\n"
"\n"
" Set all the matrix values to zero.\n"
"\n"
" :rtype: :class:`Matrix`\n");
" Set all the matrix values to zero.\n");
static PyObject *Matrix_zero(MatrixObject *self)
{
if (BaseMath_Prepare_ForWrite(self) == -1) {