kuuko pushed a commit to branch master.

commit aa1828d6688658fa90ea13b19a8009ea28456bad
Author: Kai Huuhko <[email protected]>
Date:   Sun Apr 14 20:30:06 2013 +0000

    Elementary: Change GenlistItem constructor documentation to reflect the
    current implementation. It should be changed if item_data is to be
    separated from func_data.
---
 efl/elementary/genlist.pyx | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/efl/elementary/genlist.pyx b/efl/elementary/genlist.pyx
index 276cd48..9b41693 100644
--- a/efl/elementary/genlist.pyx
+++ b/efl/elementary/genlist.pyx
@@ -897,15 +897,12 @@ cdef class GenlistItem(ObjectItem):
 
         :param item_class: a valid instance that defines the
             behavior of this row. See :py:class:`GenlistItemClass`.
-        :param item_data: some data that defines the model of this
-            row. This value will be given to methods of
-            ``item_class`` such as
-            :py:func:`GenlistItemClass.text_get()`. It will also be
-            provided to ``func`` as its last parameter.
+
         :param parent_item: if this is a tree child, then the
             parent item must be given here, otherwise it may be
             None. The parent must have the flag
             ``ELM_GENLIST_ITEM_SUBITEMS`` set.
+
         :param flags: defines special behavior of this item:
 
             - ELM_GENLIST_ITEM_NONE = 0
@@ -922,6 +919,12 @@ cdef class GenlistItem(ObjectItem):
             that represents this item, and ``item_data`` is the
             value given as parameter to this function.
 
+        :param item_data: some data that defines the model of this
+            row. This value will be given to methods of
+            ``item_class`` such as
+            :py:func:`GenlistItemClass.text_get()`. It will also be
+            provided to ``func`` as its last parameter.
+
         """
 
         self.item_class = item_class.obj

-- 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

Reply via email to