Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-02-02 15:58:01 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-02-02 17:05:31 +0400
commit41d778fa5d160c32e0f917c5502b198878fa1c08 (patch)
treef529cc390621c8c5391a96b5d07a6e4b0e709443 /source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp
parentbab88fee20207a6f050577f19eaa8da534990781 (diff)
Docstring updates and code cleanup by flokkievids (Folkert de Vries).
Diffstat (limited to 'source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp')
-rw-r--r--source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp b/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp
index fff6fbdb7da..f796c8e132c 100644
--- a/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp
+++ b/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp
@@ -40,15 +40,15 @@ PyDoc_STRVAR(StrokeVertexIterator_doc,
"\n"
"Class defining an iterator designed to iterate over the\n"
":class:`StrokeVertex` of a :class:`Stroke`. An instance of a\n"
-"StrokeVertexIterator can only be obtained from a Stroke by calling\n"
-"strokeVerticesBegin() or strokeVerticesEnd(). It is iterating over\n"
-"the same vertices as an :class:`Interface0DIterator`. The difference\n"
-"resides in the object access. Indeed, an Interface0DIterator allows\n"
-"only an access to an Interface0D whereas we could need to access the\n"
+"StrokeVertexIterator can be obtained from a Stroke by calling\n"
+"iter(), stroke_vertices_begin() or stroke_vertices_begin(). It is iterating\n"
+"over the same vertices as an :class:`Interface0DIterator`. The difference\n"
+"resides in the object access: an Interface0DIterator only allows\n"
+"access to an Interface0D while one might need to access the\n"
"specialized StrokeVertex type. In this case, one should use a\n"
-"StrokeVertexIterator. The castToInterface0DIterator() method is\n"
-"useful to get an Interface0DIterator from a StrokeVertexIterator in\n"
-"order to call any functions of the UnaryFunction0D type.\n"
+"StrokeVertexIterator. To call functions of the UnaryFuntion0D type,\n"
+"a StrokeVertexIterator can be converted to an Interface0DIterator by\n"
+"by calling Interface0DIterator(it)."
"\n"
".. method:: __init__()\n"
"\n"
@@ -132,7 +132,7 @@ static PyObject *StrokeVertexIterator_iternext(BPy_StrokeVertexIterator *self)
/*----------------------StrokeVertexIterator get/setters ----------------------------*/
PyDoc_STRVAR(StrokeVertexIterator_object_doc,
-"The StrokeVertex object currently pointed by this iterator.\n"
+"The StrokeVertex object currently pointed to by this iterator.\n"
"\n"
":type: :class:`StrokeVertex`");