[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29049] branches/soc-2008-mxcurioni/source /blender/freestyle/intern/python: Documentation updates: Replaced "string" with "str".

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Fri May 28 20:42:13 CEST 2010


Revision: 29049
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29049
Author:   kjym3
Date:     2010-05-28 20:42:11 +0200 (Fri, 28 May 2010)

Log Message:
-----------
Documentation updates: Replaced "string" with "str".

Modified Paths:
--------------
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_BinaryPredicate1D.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_ContextFunctions.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Interface0D.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Interface1D.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Iterator.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_StrokeShader.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/StrokeShader/BPy_ColorVariationPatternShader.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/StrokeShader/BPy_StrokeTextureShader.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/StrokeShader/BPy_ThicknessVariationPatternShader.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/StrokeShader/BPy_fstreamShader.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DEdgeNature.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/BPy_ReadMapPixelF0D.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DEdgeNature.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DUnsigned.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec2f.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec3f.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVectorViewShape.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVoid.cpp

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp	2010-05-28 16:33:44 UTC (rev 29048)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp	2010-05-28 18:42:11 UTC (rev 29049)
@@ -77,7 +77,7 @@
 "   Returns the name of the binary 0D predicate.\n"
 "\n"
 "   :return: The name of the binary 0D predicate.\n"
-"   :rtype: string\n";
+"   :rtype: str\n";
 
 static PyObject * BinaryPredicate0D_getName( BPy_BinaryPredicate0D *self, PyObject *args)
 {

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_BinaryPredicate1D.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_BinaryPredicate1D.cpp	2010-05-28 16:33:44 UTC (rev 29048)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_BinaryPredicate1D.cpp	2010-05-28 18:42:11 UTC (rev 29049)
@@ -106,7 +106,7 @@
 "   Returns the name of the binary 1D predicate.\n"
 "\n"
 "   :return: The name of the binary 1D predicate.\n"
-"   :rtype: string\n";
+"   :rtype: str\n";
 
 static PyObject *BinaryPredicate1D_getName( BPy_BinaryPredicate1D *self, PyObject *args)
 {

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_ContextFunctions.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_ContextFunctions.cpp	2010-05-28 16:33:44 UTC (rev 29048)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_ContextFunctions.cpp	2010-05-28 18:42:11 UTC (rev 29049)
@@ -59,9 +59,9 @@
 "   Loads an image map for further reading.\n"
 "\n"
 "   :arg iFileName: The name of the image file.\n"
-"   :type iFileName: string\n"
+"   :type iFileName: str\n"
 "   :arg iMapName: The name that will be used to access this image.\n"
-"   :type iMapName: string\n"
+"   :type iMapName: str\n"
 "   :arg iNbLevels: The number of levels in the map pyramid\n"
 "      (default = 4).  If iNbLevels == 0, the complete pyramid is\n"
 "      built.\n"
@@ -90,7 +90,7 @@
 "   Reads a pixel in a user-defined map.\n"
 "\n"
 "   :arg iMapName: The name of the map.\n"
-"   :type iMapName: string\n"
+"   :type iMapName: str\n"
 "   :arg level: The level of the pyramid in which we wish to read the\n"
 "      pixel.\n"
 "   :type level: int\n"

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Interface0D.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Interface0D.cpp	2010-05-28 16:33:44 UTC (rev 29048)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Interface0D.cpp	2010-05-28 18:42:11 UTC (rev 29049)
@@ -96,7 +96,7 @@
 "   Returns the name of the 0D element.\n"
 "\n"
 "   :return: Name of the interface.\n"
-"   :rtype: string\n";
+"   :rtype: str\n";
 
 static PyObject *Interface0D_getExactTypeName( BPy_Interface0D *self ) {
 	return PyUnicode_FromString( self->if0D->getExactTypeName().c_str() );	

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Interface1D.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Interface1D.cpp	2010-05-28 16:33:44 UTC (rev 29048)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Interface1D.cpp	2010-05-28 18:42:11 UTC (rev 29049)
@@ -106,7 +106,7 @@
 "   Returns the string of the name of the 1D element.\n"
 "\n"
 "   :return: The name of the 1D element.\n"
-"   :rtype: string\n";
+"   :rtype: str\n";
 
 static PyObject *Interface1D_getExactTypeName( BPy_Interface1D *self ) {
 	return PyUnicode_FromString( self->if1D->getExactTypeName().c_str() );	

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Iterator.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Iterator.cpp	2010-05-28 16:33:44 UTC (rev 29048)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Iterator.cpp	2010-05-28 18:42:11 UTC (rev 29049)
@@ -107,7 +107,7 @@
 "   Returns the name of the iterator.\n"
 "\n"
 "   :return: The name of the iterator.\n"
-"   :rtype: string\n";
+"   :rtype: str\n";
 
 static PyObject * Iterator_getExactTypeName(BPy_Iterator* self) {
 	return PyUnicode_FromString( self->it->getExactTypeName().c_str() );	

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp	2010-05-28 16:33:44 UTC (rev 29048)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp	2010-05-28 18:42:11 UTC (rev 29049)
@@ -250,7 +250,7 @@
 "   Returns an attribute of float type.\n"
 "\n"
 "   :arg iName: The name of the attribute.\n"
-"   :type iName: string\n"
+"   :type iName: str\n"
 "   :return: The attribute value.\n"
 "   :rtype: float\n";
 
@@ -270,7 +270,7 @@
 "   Returns an attribute of two-dimensional vector type.\n"
 "\n"
 "   :arg iName: The name of the attribute.\n"
-"   :type iName: string\n"
+"   :type iName: str\n"
 "   :return: The attribute value.\n"
 "   :rtype: :class:`mathutils.Vector`\n";
 
@@ -290,7 +290,7 @@
 "   Returns an attribute of three-dimensional vector type.\n"
 "\n"
 "   :arg iName: The name of the attribute.\n"
-"   :type iName: string\n"
+"   :type iName: str\n"
 "   :return: The attribute value.\n"
 "   :rtype: :class:`mathutils.Vector`\n";
 
@@ -310,7 +310,7 @@
 "   Checks whether the attribute iName of float type is available.\n"
 "\n"
 "   :arg iName: The name of the attribute.\n"
-"   :type iName: string\n"
+"   :type iName: str\n"
 "   :return: True if the attribute is availbale.\n"
 "   :rtype: bool\n";
 
@@ -330,7 +330,7 @@
 "   is available.\n"
 "\n"
 "   :arg iName: The name of the attribute.\n"
-"   :type iName: string\n"
+"   :type iName: str\n"
 "   :return: True if the attribute is availbale.\n"
 "   :rtype: bool\n";
 
@@ -350,7 +350,7 @@
 "   type is available.\n"
 "\n"
 "   :arg iName: The name of the attribute.\n"
-"   :type iName: string\n"
+"   :type iName: str\n"
 "   :return: True if the attribute is availbale.\n"
 "   :rtype: bool\n";
 
@@ -507,7 +507,7 @@
 "   replaces the old one.\n"
 "\n"
 "   :arg iName: The name of the attribute.\n"
-"   :type iName: string\n"
+"   :type iName: str\n"
 "   :arg att: The attribute value.\n"
 "   :type att: float\n";
 
@@ -530,7 +530,7 @@
 "   the new value replaces the old one.\n"
 "\n"
 "   :arg iName: The name of the attribute.\n"
-"   :type iName: string\n"
+"   :type iName: str\n"
 "   :arg att: The attribute value.\n"
 "   :type att: :class:`mathutils.Vector`, list or tuple of 2 real numbers\n";
 
@@ -559,7 +559,7 @@
 "   Otherwise, the new value replaces the old one.\n"
 "\n"
 "   :arg iName: The name of the attribute.\n"
-"   :type iName: string\n"
+"   :type iName: str\n"
 "   :arg att: The attribute value.\n"
 "   :type att: :class:`mathutils.Vector`, list or tuple of 3 real numbers\n";
 

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_StrokeShader.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_StrokeShader.cpp	2010-05-28 16:33:44 UTC (rev 29048)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_StrokeShader.cpp	2010-05-28 18:42:11 UTC (rev 29049)
@@ -205,7 +205,7 @@
 "   Returns the name of this stroke shader.\n"
 "\n"
 "   :return: The name of this stroke shader.\n"
-"   :rtype: string\n";
+"   :rtype: str\n";
 
 static PyObject * StrokeShader_getName( BPy_StrokeShader *self, PyObject *args)
 {

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.cpp	2010-05-28 16:33:44 UTC (rev 29048)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.cpp	2010-05-28 18:42:11 UTC (rev 29049)
@@ -86,7 +86,7 @@
 "   Returns the name of the UnaryPredicate0D.\n"
 "\n"
 "   :return: The name of the UnaryPredicate0D.\n"
-"   :rtype: string\n";
+"   :rtype: str\n";
 
 static PyObject * UnaryPredicate0D_getName( BPy_UnaryPredicate0D *self )
 {

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp	2010-05-28 16:33:44 UTC (rev 29048)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp	2010-05-28 18:42:11 UTC (rev 29049)
@@ -132,7 +132,7 @@
 "   EqualToChainingTimeStampUP1D, ShapeUP1D, and DensityLowerThanUP1D.\n"
 "\n"
 "   :return: \n"
-"   :rtype: string\n";
+"   :rtype: str\n";
 
 static PyObject * UnaryPredicate1D_getName( BPy_UnaryPredicate1D *self, PyObject *args)
 {

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/StrokeShader/BPy_ColorVariationPatternShader.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/StrokeShader/BPy_ColorVariationPatternShader.cpp	2010-05-28 16:33:44 UTC (rev 29048)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/StrokeShader/BPy_ColorVariationPatternShader.cpp	2010-05-28 18:42:11 UTC (rev 29049)
@@ -20,7 +20,7 @@
 "\n"
 "   :arg pattern_name: The file name of the texture file to use as\n"
 "      pattern.\n"
-"   :type pattern_name: string\n"
+"   :type pattern_name: str\n"
 "   :arg stretch: Tells whether the texture must be strecthed or\n"
 "      repeted to fit the stroke.\n"
 "   :type stretch: bool\n"


@@ Diff output truncated at 10240 characters. @@




More information about the Bf-blender-cvs mailing list