[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43989] trunk/blender/source/blender/ python/mathutils: correct 2 sphinx warnings.

Campbell Barton ideasman42 at gmail.com
Wed Feb 8 17:36:17 CET 2012


Revision: 43989
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43989
Author:   campbellbarton
Date:     2012-02-08 16:36:04 +0000 (Wed, 08 Feb 2012)
Log Message:
-----------
correct 2 sphinx warnings.

Modified Paths:
--------------
    trunk/blender/source/blender/python/mathutils/mathutils_Matrix.c
    trunk/blender/source/blender/python/mathutils/mathutils_noise.c

Modified: trunk/blender/source/blender/python/mathutils/mathutils_Matrix.c
===================================================================
--- trunk/blender/source/blender/python/mathutils/mathutils_Matrix.c	2012-02-08 15:54:00 UTC (rev 43988)
+++ trunk/blender/source/blender/python/mathutils/mathutils_Matrix.c	2012-02-08 16:36:04 UTC (rev 43989)
@@ -1166,7 +1166,7 @@
 "\n"
 "   Set the matrix to its inverse.\n"
 "\n"
-"   .. note:: :exc:`ValueError` exception is raised.\n"
+"   .. note:: When the matrix cant be inverted a :exc:`ValueError` exception is raised.\n"
 "\n"
 "   .. seealso:: <http://en.wikipedia.org/wiki/Inverse_matrix>\n"
 );
@@ -1240,7 +1240,7 @@
 "   :return: the  inverted matrix.\n"
 "   :rtype: :class:`Matrix`\n"
 "\n"
-"   .. note:: :exc:`ValueError` exception is raised.\n"
+"   .. note:: When the matrix cant be inverted a :exc:`ValueError` exception is raised.\n"
 );
 static PyObject *Matrix_inverted(MatrixObject *self)
 {

Modified: trunk/blender/source/blender/python/mathutils/mathutils_noise.c
===================================================================
--- trunk/blender/source/blender/python/mathutils/mathutils_noise.c	2012-02-08 15:54:00 UTC (rev 43988)
+++ trunk/blender/source/blender/python/mathutils/mathutils_noise.c	2012-02-08 16:36:04 UTC (rev 43989)
@@ -720,7 +720,7 @@
 "   :arg exponent: The exponent for Minkovsky distance metric.\n"
 "   :type exponent: float\n"
 "   :return: A list of distances to the four closest features and their locations.\n"
-"   :rtype: list of four floats, list of four :class:`mathutils.Vector`s\n"
+"   :rtype: list of four floats, list of four :class:`mathutils.Vector` types\n"
 );
 static PyObject *M_Noise_voronoi(PyObject *UNUSED(self), PyObject *args)
 {




More information about the Bf-blender-cvs mailing list