From 4ac5d3245dbecb3465c14345b4198ac7c41b812e Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Thu, 5 Jun 2014 14:06:25 +0900 Subject: Freestyle: Fix for Interface0DIterator.object docstring with additional notes. --- .../freestyle/intern/python/Iterator/BPy_Interface0DIterator.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'source/blender/freestyle/intern/python') diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.cpp b/source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.cpp index f85bcddf186..a339e6653c6 100644 --- a/source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.cpp +++ b/source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.cpp @@ -132,9 +132,12 @@ static PyObject *Interface0DIterator_iternext(BPy_Interface0DIterator *self) /*----------------------Interface0DIterator get/setters ----------------------------*/ PyDoc_STRVAR(Interface0DIterator_object_doc, -"The Interface0D object currently pointed to by this iterator.\n" +"The 0D object currently pointed to by this iterator. Note that the object\n" +"may be an instance of an Interface0D subclass. For example if the iterator\n" +"has been created from :method:`Stroke.vertices_begin`, the .object property\n" +"refers to a :class:`StrokeVertex` object.\n" "\n" -":type: :class:`Interface0D`"); +":type: :class:`Interface0D` or one of its subclasses."); static PyObject *Interface0DIterator_object_get(BPy_Interface0DIterator *self, void *UNUSED(closure)) { -- cgit v1.2.3