Code cleanup: Use line comments to disable code, not docstrings
This commit is contained in:
parent
0ce26275fe
commit
397aabf3a4
|
@ -351,15 +351,14 @@ cdef class EdjeEdit(Edje):
|
|||
if isinstance(name, unicode): name = name.encode("UTF-8")
|
||||
return bool(edje_edit_program_exist(self.obj,
|
||||
<const char *>name if name is not None else NULL))
|
||||
"""
|
||||
property error:
|
||||
def __get__(self):
|
||||
last_error = c_evas.eina_error_get()
|
||||
if last_error:
|
||||
return c_evas.eina_error_msg_get(last_error)
|
||||
|
||||
return None
|
||||
"""
|
||||
# property error:
|
||||
# def __get__(self):
|
||||
# last_error = c_evas.eina_error_get()
|
||||
# if last_error:
|
||||
# return c_evas.eina_error_msg_get(last_error)
|
||||
#
|
||||
# return None
|
||||
|
||||
# Scripts
|
||||
property script:
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -365,12 +365,12 @@ cdef class GenlistItem(ObjectItem):
|
|||
"""
|
||||
elm_genlist_item_item_class_update(self.item, itc.cls)
|
||||
|
||||
#TODO: def item_class_get(self):
|
||||
"""This returns the Genlist_Item_Class for the given item. It can be
|
||||
used to examine the function pointers and item_style.
|
||||
|
||||
"""
|
||||
#return elm_genlist_item_item_class_get(self.item)
|
||||
# TODO: def item_class_get(self):
|
||||
# """This returns the Genlist_Item_Class for the given item. It can be
|
||||
# used to examine the function pointers and item_style.
|
||||
#
|
||||
# """
|
||||
# return elm_genlist_item_item_class_get(self.item)
|
||||
|
||||
property index:
|
||||
"""Get the index of the item. It is only valid once displayed.
|
||||
|
|
Loading…
Reference in New Issue