summaryrefslogtreecommitdiff
path: root/efl
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2014-04-14 14:20:51 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2014-04-14 23:39:59 +0300
commit286fd64489cde56690380e52397ee4e10873f644 (patch)
tree3591e5c11985f5a5b1b51ba3d9b5b7284529865f /efl
parent8109cd62b44177f501a157b1cc01cf549ef98838 (diff)
Code cleanup: Single-quoted docstrings
Triple double-quotes should be used for docstrings
Diffstat (limited to 'efl')
-rw-r--r--efl/ecore/efl.ecore_animator.pxi4
-rw-r--r--efl/ecore/efl.ecore_events.pxi2
-rw-r--r--efl/ecore/efl.ecore_exe.pxi2
-rw-r--r--efl/ecore/efl.ecore_fd_handler.pxi10
-rw-r--r--efl/ecore/efl.ecore_idler.pxi6
-rw-r--r--efl/ecore/efl.ecore_timer.pxi8
-rw-r--r--efl/edje/efl.edje_external.pxi2
-rw-r--r--efl/edje/efl.edje_object.pxi56
-rw-r--r--efl/emotion/efl.emotion.pyx48
-rw-r--r--efl/evas/efl.evas_map.pxi2
-rw-r--r--efl/evas/efl.evas_object_polygon.pxi2
-rw-r--r--efl/evas/efl.evas_rect.pxi48
12 files changed, 95 insertions, 95 deletions
diff --git a/efl/ecore/efl.ecore_animator.pxi b/efl/ecore/efl.ecore_animator.pxi
index 96c8efc..b1c842a 100644
--- a/efl/ecore/efl.ecore_animator.pxi
+++ b/efl/ecore/efl.ecore_animator.pxi
@@ -62,11 +62,11 @@ cdef class Animator(Eo):
62 return self.func(*self.args, **self.kargs) 62 return self.func(*self.args, **self.kargs)
63 63
64 def delete(self): 64 def delete(self):
65 "Stop callback emission and free internal resources." 65 """Stop callback emission and free internal resources."""
66 ecore_animator_del(self.obj) 66 ecore_animator_del(self.obj)
67 67
68 def stop(self): 68 def stop(self):
69 "Alias for delete()." 69 """Alias for delete()."""
70 self.delete() 70 self.delete()
71 71
72cdef Eina_Bool _ecore_timeline_cb(void *data, double pos) with gil: 72cdef Eina_Bool _ecore_timeline_cb(void *data, double pos) with gil:
diff --git a/efl/ecore/efl.ecore_events.pxi b/efl/ecore/efl.ecore_events.pxi
index 93bcdd5..10fcd35 100644
--- a/efl/ecore/efl.ecore_events.pxi
+++ b/efl/ecore/efl.ecore_events.pxi
@@ -68,7 +68,7 @@ cdef class Event(object):
68 68
69cdef class EventHandler(object): 69cdef class EventHandler(object):
70 def __init__(self, int type, func, *args, **kargs): 70 def __init__(self, int type, func, *args, **kargs):
71 ":parm type: event type, as registered with ecore_event_type_new()." 71 """:parm type: event type, as registered with ecore_event_type_new()."""
72 if not callable(func): 72 if not callable(func):
73 raise TypeError("Parameter 'func' must be callable") 73 raise TypeError("Parameter 'func' must be callable")
74 event_cls = _event_type_mapping.get(type, None) 74 event_cls = _event_type_mapping.get(type, None)
diff --git a/efl/ecore/efl.ecore_exe.pxi b/efl/ecore/efl.ecore_exe.pxi
index c25d199..ce103c2 100644
--- a/efl/ecore/efl.ecore_exe.pxi
+++ b/efl/ecore/efl.ecore_exe.pxi
@@ -375,7 +375,7 @@ cdef class Exe(object):
375 ecore_exe_free(self.exe) 375 ecore_exe_free(self.exe)
376 376
377 def free(self): 377 def free(self):
378 "Alias for :py:meth:`delete` to keep compatibility with C-api." 378 """Alias for :py:meth:`delete` to keep compatibility with C-api."""
379 self.delete() 379 self.delete()
380 380
381 def send(self, buf, long size=0): 381 def send(self, buf, long size=0):
diff --git a/efl/ecore/efl.ecore_fd_handler.pxi b/efl/ecore/efl.ecore_fd_handler.pxi
index 227e4df..32911e1 100644
--- a/efl/ecore/efl.ecore_fd_handler.pxi
+++ b/efl/ecore/efl.ecore_fd_handler.pxi
@@ -140,14 +140,14 @@ cdef class FdHandler(object):
140 return self.func(self, *self.args, **self.kargs) 140 return self.func(self, *self.args, **self.kargs)
141 141
142 def delete(self): 142 def delete(self):
143 "Stop callback emission and free internal resources." 143 """Stop callback emission and free internal resources."""
144 if self.obj != NULL: 144 if self.obj != NULL:
145 ecore_main_fd_handler_del(self.obj) 145 ecore_main_fd_handler_del(self.obj)
146 self.obj = NULL 146 self.obj = NULL
147 Py_DECREF(self) 147 Py_DECREF(self)
148 148
149 def stop(self): 149 def stop(self):
150 "Alias for ``delete``." 150 """Alias for ``delete``."""
151 self.delete() 151 self.delete()
152 152
153 def fd_get(self): 153 def fd_get(self):
@@ -187,15 +187,15 @@ cdef class FdHandler(object):
187 ecore_main_fd_handler_active_set(self.obj, v) 187 ecore_main_fd_handler_active_set(self.obj, v)
188 188
189 def can_read(self): 189 def can_read(self):
190 ":rtype: bool" 190 """:rtype: bool"""
191 return bool(ecore_main_fd_handler_active_get(self.obj, ECORE_FD_READ)) 191 return bool(ecore_main_fd_handler_active_get(self.obj, ECORE_FD_READ))
192 192
193 def can_write(self): 193 def can_write(self):
194 ":rtype: bool" 194 """:rtype: bool"""
195 return bool(ecore_main_fd_handler_active_get(self.obj, ECORE_FD_WRITE)) 195 return bool(ecore_main_fd_handler_active_get(self.obj, ECORE_FD_WRITE))
196 196
197 def has_error(self): 197 def has_error(self):
198 ":rtype: bool" 198 """:rtype: bool"""
199 return bool(ecore_main_fd_handler_active_get(self.obj, ECORE_FD_ERROR)) 199 return bool(ecore_main_fd_handler_active_get(self.obj, ECORE_FD_ERROR))
200 200
201 def prepare_callback_set(self, func, *args, **kargs): 201 def prepare_callback_set(self, func, *args, **kargs):
diff --git a/efl/ecore/efl.ecore_idler.pxi b/efl/ecore/efl.ecore_idler.pxi
index e316f4e..eebd661 100644
--- a/efl/ecore/efl.ecore_idler.pxi
+++ b/efl/ecore/efl.ecore_idler.pxi
@@ -63,11 +63,11 @@ cdef class Idler(Eo):
63 return self.func(*self.args, **self.kargs) 63 return self.func(*self.args, **self.kargs)
64 64
65 def delete(self): 65 def delete(self):
66 "Stop callback emission and free internal resources." 66 """Stop callback emission and free internal resources."""
67 ecore_idler_del(self.obj) 67 ecore_idler_del(self.obj)
68 68
69 def stop(self): 69 def stop(self):
70 "Alias for stop()." 70 """Alias for stop()."""
71 self.delete() 71 self.delete()
72 72
73 73
@@ -107,7 +107,7 @@ cdef class IdleEnterer(Idler):
107 self._set_obj(ecore_idle_enterer_add(_ecore_task_cb, <void *>self)) 107 self._set_obj(ecore_idle_enterer_add(_ecore_task_cb, <void *>self))
108 108
109 def delete(self): 109 def delete(self):
110 "Stop callback emission and free internal resources." 110 """Stop callback emission and free internal resources."""
111 ecore_idle_enterer_del(self.obj) 111 ecore_idle_enterer_del(self.obj)
112 112
113 113
diff --git a/efl/ecore/efl.ecore_timer.pxi b/efl/ecore/efl.ecore_timer.pxi
index beba9f8..aca0505 100644
--- a/efl/ecore/efl.ecore_timer.pxi
+++ b/efl/ecore/efl.ecore_timer.pxi
@@ -66,19 +66,19 @@ cdef class Timer(Eo):
66 return self.func(*self.args, **self.kargs) 66 return self.func(*self.args, **self.kargs)
67 67
68 def delete(self): 68 def delete(self):
69 "Stop callback emission and free internal resources." 69 """Stop callback emission and free internal resources."""
70 ecore_timer_del(self.obj) 70 ecore_timer_del(self.obj)
71 71
72 def stop(self): 72 def stop(self):
73 "Alias for ``delete()``" 73 """Alias for ``delete()``"""
74 self.delete() 74 self.delete()
75 75
76 def freeze(self): 76 def freeze(self):
77 "Pauses a running timer." 77 """Pauses a running timer."""
78 ecore_timer_freeze(self.obj) 78 ecore_timer_freeze(self.obj)
79 79
80 def thaw(self): 80 def thaw(self):
81 "Resumes a frozen (paused) timer." 81 """Resumes a frozen (paused) timer."""
82 ecore_timer_thaw(self.obj) 82 ecore_timer_thaw(self.obj)
83 83
84 def delay(self, double add): 84 def delay(self, double add):
diff --git a/efl/edje/efl.edje_external.pxi b/efl/edje/efl.edje_external.pxi
index 8a3ed83..ec9986a 100644
--- a/efl/edje/efl.edje_external.pxi
+++ b/efl/edje/efl.edje_external.pxi
@@ -477,7 +477,7 @@ cdef class ExternalIterator:
477 eina_iterator_free(self.obj) 477 eina_iterator_free(self.obj)
478 478
479def external_type_get(char *type_name): 479def external_type_get(char *type_name):
480 "Gets the instance that represents an ExternalType of the given name." 480 """Gets the instance that represents an ExternalType of the given name."""
481 cdef const Edje_External_Type *obj = edje_external_type_get(type_name) 481 cdef const Edje_External_Type *obj = edje_external_type_get(type_name)
482 cdef ExternalType ret 482 cdef ExternalType ret
483 if obj == NULL: 483 if obj == NULL:
diff --git a/efl/edje/efl.edje_object.pxi b/efl/edje/efl.edje_object.pxi
index 476c5c2..124a71b 100644
--- a/efl/edje/efl.edje_object.pxi
+++ b/efl/edje/efl.edje_object.pxi
@@ -220,11 +220,11 @@ cdef class Edje(Object):
220 return (_ctouni(file), _ctouni(group)) 220 return (_ctouni(file), _ctouni(group))
221 221
222 def load_error_get(self): 222 def load_error_get(self):
223 ":rtype: int" 223 """:rtype: int"""
224 return edje_object_load_error_get(self.obj) 224 return edje_object_load_error_get(self.obj)
225 225
226 def play_get(self): 226 def play_get(self):
227 ":rtype: bool" 227 """:rtype: bool"""
228 return bool(edje_object_play_get(self.obj)) 228 return bool(edje_object_play_get(self.obj))
229 229
230 def play_set(self, int value): 230 def play_set(self, int value):
@@ -244,11 +244,11 @@ cdef class Edje(Object):
244 self.play_set(value) 244 self.play_set(value)
245 245
246 def animation_get(self): 246 def animation_get(self):
247 ":rtype: bool" 247 """:rtype: bool"""
248 return bool(edje_object_animation_get(self.obj)) 248 return bool(edje_object_animation_get(self.obj))
249 249
250 def animation_set(self, int value): 250 def animation_set(self, int value):
251 "Set animation state." 251 """Set animation state."""
252 edje_object_animation_set(self.obj, value) 252 edje_object_animation_set(self.obj, value)
253 253
254 property animation: 254 property animation:
@@ -268,7 +268,7 @@ cdef class Edje(Object):
268 return edje_object_freeze(self.obj) 268 return edje_object_freeze(self.obj)
269 269
270 def thaw(self): 270 def thaw(self):
271 "Thaw (unfreeze) the object." 271 """Thaw (unfreeze) the object."""
272 return edje_object_thaw(self.obj) 272 return edje_object_thaw(self.obj)
273 273
274 def preload(self, int cancel): 274 def preload(self, int cancel):
@@ -335,7 +335,7 @@ cdef class Edje(Object):
335 return (r, g, b, a, r2, g2, b2, a2, r3, g3, b3, a3) 335 return (r, g, b, a, r2, g2, b2, a2, r3, g3, b3, a3)
336 336
337 def color_class_del(self, color_class): 337 def color_class_del(self, color_class):
338 "Delete a specific color class." 338 """Delete a specific color class."""
339 if isinstance(color_class, unicode): 339 if isinstance(color_class, unicode):
340 color_class = PyUnicode_AsUTF8String(color_class) 340 color_class = PyUnicode_AsUTF8String(color_class)
341 edje_object_color_class_del(self.obj, 341 edje_object_color_class_del(self.obj,
@@ -396,7 +396,7 @@ cdef class Edje(Object):
396 return bool(edje_object_mirrored_get(self.obj)) 396 return bool(edje_object_mirrored_get(self.obj))
397 397
398 def size_min_get(self): 398 def size_min_get(self):
399 ":rtype: tuple of int" 399 """:rtype: tuple of int"""
400 cdef int w, h 400 cdef int w, h
401 edje_object_size_min_get(self.obj, &w, &h) 401 edje_object_size_min_get(self.obj, &w, &h)
402 return (w, h) 402 return (w, h)
@@ -406,7 +406,7 @@ cdef class Edje(Object):
406 return self.size_min_get() 406 return self.size_min_get()
407 407
408 def size_max_get(self): 408 def size_max_get(self):
409 ":rtype: tuple of int" 409 """:rtype: tuple of int"""
410 cdef int w, h 410 cdef int w, h
411 edje_object_size_max_get(self.obj, &w, &h) 411 edje_object_size_max_get(self.obj, &w, &h)
412 return (w, h) 412 return (w, h)
@@ -416,11 +416,11 @@ cdef class Edje(Object):
416 return self.size_max_get() 416 return self.size_max_get()
417 417
418 def calc_force(self): 418 def calc_force(self):
419 "Force recalculation of parts state (geometry, position, ...)" 419 """Force recalculation of parts state (geometry, position, ...)"""
420 edje_object_calc_force(self.obj) 420 edje_object_calc_force(self.obj)
421 421
422 def size_min_calc(self): 422 def size_min_calc(self):
423 "Request object to calculate minimum size." 423 """Request object to calculate minimum size."""
424 cdef int w, h 424 cdef int w, h
425 edje_object_size_min_calc(self.obj, &w, &h) 425 edje_object_size_min_calc(self.obj, &w, &h)
426 return (w, h) 426 return (w, h)
@@ -484,7 +484,7 @@ cdef class Edje(Object):
484 edje_object_update_hints_set(self.obj, update) 484 edje_object_update_hints_set(self.obj, update)
485 485
486 def part_exists(self, part): 486 def part_exists(self, part):
487 ":rtype: bool" 487 """:rtype: bool"""
488 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part) 488 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part)
489 return bool(edje_object_part_exists(self.obj, 489 return bool(edje_object_part_exists(self.obj,
490 <const char *>part if part is not None else NULL)) 490 <const char *>part if part is not None else NULL))
@@ -506,7 +506,7 @@ cdef class Edje(Object):
506 return object_from_instance(obj) 506 return object_from_instance(obj)
507 507
508 def part_geometry_get(self, part): 508 def part_geometry_get(self, part):
509 ":rtype: tuple of int" 509 """:rtype: tuple of int"""
510 cdef int x, y, w, h 510 cdef int x, y, w, h
511 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part) 511 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part)
512 edje_object_part_geometry_get(self.obj, 512 edje_object_part_geometry_get(self.obj,
@@ -515,7 +515,7 @@ cdef class Edje(Object):
515 return (x, y, w, h) 515 return (x, y, w, h)
516 516
517 def part_size_get(self, part): 517 def part_size_get(self, part):
518 ":rtype: tuple of int" 518 """:rtype: tuple of int"""
519 cdef int w, h 519 cdef int w, h
520 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part) 520 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part)
521 edje_object_part_geometry_get(self.obj, 521 edje_object_part_geometry_get(self.obj,
@@ -524,7 +524,7 @@ cdef class Edje(Object):
524 return (w, h) 524 return (w, h)
525 525
526 def part_pos_get(self, part): 526 def part_pos_get(self, part):
527 ":rtype: tuple of int" 527 """:rtype: tuple of int"""
528 cdef int x, y 528 cdef int x, y
529 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part) 529 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part)
530 edje_object_part_geometry_get(self.obj, 530 edje_object_part_geometry_get(self.obj,
@@ -577,13 +577,13 @@ cdef class Edje(Object):
577 <const char *>part if part is not None else NULL)) 577 <const char *>part if part is not None else NULL))
578 578
579 def part_text_select_all(self, part): 579 def part_text_select_all(self, part):
580 "Select all the text of the given TEXT or TEXTBLOCK part" 580 """Select all the text of the given TEXT or TEXTBLOCK part"""
581 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part) 581 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part)
582 edje_object_part_text_select_all(self.obj, 582 edje_object_part_text_select_all(self.obj,
583 <const char *>part if part is not None else NULL) 583 <const char *>part if part is not None else NULL)
584 584
585 def part_text_select_none(self, part): 585 def part_text_select_none(self, part):
586 "Deselect all the text of the given TEXT or TEXTBLOCK part" 586 """Deselect all the text of the given TEXT or TEXTBLOCK part"""
587 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part) 587 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part)
588 edje_object_part_text_select_none(self.obj, 588 edje_object_part_text_select_none(self.obj,
589 <const char *>part if part is not None else NULL) 589 <const char *>part if part is not None else NULL)
@@ -646,17 +646,17 @@ cdef class Edje(Object):
646 <const char *>part if part is not None else NULL, obj.obj) 646 <const char *>part if part is not None else NULL, obj.obj)
647 647
648 def part_unswallow(self, Object obj): 648 def part_unswallow(self, Object obj):
649 "Unswallow the given object from the edje" 649 """Unswallow the given object from the edje"""
650 edje_object_part_unswallow(self.obj, obj.obj) 650 edje_object_part_unswallow(self.obj, obj.obj)
651 651
652 def part_swallow_get(self, part): 652 def part_swallow_get(self, part):
653 ":rtype: efl.evas.Object" 653 """:rtype: efl.evas.Object"""
654 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part) 654 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part)
655 return object_from_instance(edje_object_part_swallow_get( 655 return object_from_instance(edje_object_part_swallow_get(
656 self.obj, <const char *>part if part is not None else NULL)) 656 self.obj, <const char *>part if part is not None else NULL))
657 657
658 def part_external_object_get(self, part): 658 def part_external_object_get(self, part):
659 ":rtype: efl.evas.Object" 659 """:rtype: efl.evas.Object"""
660 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part) 660 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part)
661 return object_from_instance(edje_object_part_external_object_get( 661 return object_from_instance(edje_object_part_external_object_get(
662 self.obj, <const char *>part if part is not None else NULL)) 662 self.obj, <const char *>part if part is not None else NULL))
@@ -934,7 +934,7 @@ cdef class Edje(Object):
934 <const char *>part if part is not None else NULL, row, column)) 934 <const char *>part if part is not None else NULL, row, column))
935 935
936 def part_state_get(self, part): 936 def part_state_get(self, part):
937 ":rtype: (name, value)" 937 """:rtype: (name, value)"""
938 cdef double sv 938 cdef double sv
939 cdef const char *sn 939 cdef const char *sn
940 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part) 940 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part)
@@ -943,7 +943,7 @@ cdef class Edje(Object):
943 return (_ctouni(sn), sv) 943 return (_ctouni(sn), sv)
944 944
945 def part_drag_dir_get(self, part): 945 def part_drag_dir_get(self, part):
946 ":rtype: int" 946 """:rtype: int"""
947 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part) 947 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part)
948 return edje_object_part_drag_dir_get(self.obj, 948 return edje_object_part_drag_dir_get(self.obj,
949 <const char *>part if part is not None else NULL) 949 <const char *>part if part is not None else NULL)
@@ -958,7 +958,7 @@ cdef class Edje(Object):
958 <const char *>part if part is not None else NULL, dx, dy) 958 <const char *>part if part is not None else NULL, dx, dy)
959 959
960 def part_drag_value_get(self, part): 960 def part_drag_value_get(self, part):
961 ":rtype: tuple of float" 961 """:rtype: tuple of float"""
962 cdef double dx, dy 962 cdef double dx, dy
963 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part) 963 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part)
964 edje_object_part_drag_value_get(self.obj, 964 edje_object_part_drag_value_get(self.obj,
@@ -975,7 +975,7 @@ cdef class Edje(Object):
975 <const char *>part if part is not None else NULL, dw, dh) 975 <const char *>part if part is not None else NULL, dw, dh)
976 976
977 def part_drag_size_get(self, part): 977 def part_drag_size_get(self, part):
978 ":rtype: tuple of float" 978 """:rtype: tuple of float"""
979 cdef double dw, dh 979 cdef double dw, dh
980 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part) 980 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part)
981 edje_object_part_drag_size_get(self.obj, 981 edje_object_part_drag_size_get(self.obj,
@@ -992,7 +992,7 @@ cdef class Edje(Object):
992 <const char *>part if part is not None else NULL, dx, dy) 992 <const char *>part if part is not None else NULL, dx, dy)
993 993
994 def part_drag_step_get(self, part): 994 def part_drag_step_get(self, part):
995 ":rtype: tuple of float" 995 """:rtype: tuple of float"""
996 cdef double dx, dy 996 cdef double dx, dy
997 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part) 997 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part)
998 edje_object_part_drag_step_get(self.obj, 998 edje_object_part_drag_step_get(self.obj,
@@ -1010,7 +1010,7 @@ cdef class Edje(Object):
1010 <const char *>part if part is not None else NULL, dx, dy) 1010 <const char *>part if part is not None else NULL, dx, dy)
1011 1011
1012 def part_drag_page_get(self, part): 1012 def part_drag_page_get(self, part):
1013 ":rtype: tuple of float" 1013 """:rtype: tuple of float"""
1014 cdef double dx, dy 1014 cdef double dx, dy
1015 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part) 1015 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part)
1016 edje_object_part_drag_page_get(self.obj, 1016 edje_object_part_drag_page_get(self.obj,
@@ -1233,7 +1233,7 @@ cdef class Edje(Object):
1233 raise TypeError("func must be callable or None") 1233 raise TypeError("func must be callable or None")
1234 1234
1235 def message_signal_process(self): 1235 def message_signal_process(self):
1236 "Manually iterate message signal system." 1236 """Manually iterate message signal system."""
1237 edje_object_message_signal_process(self.obj) 1237 edje_object_message_signal_process(self.obj)
1238 1238
1239 def signal_callback_add(self, emission, source, func, 1239 def signal_callback_add(self, emission, source, func,
@@ -1270,7 +1270,7 @@ cdef class Edje(Object):
1270 lst.append((func, args, kargs)) 1270 lst.append((func, args, kargs))
1271 1271
1272 def signal_callback_del(self, emission, source, func): 1272 def signal_callback_del(self, emission, source, func):
1273 "Remove the callable associated with given emission and source." 1273 """Remove the callable associated with given emission and source."""
1274 try: 1274 try:
1275 d = self._signal_callbacks[emission] 1275 d = self._signal_callbacks[emission]
1276 lst = d[source] 1276 lst = d[source]
@@ -1302,7 +1302,7 @@ cdef class Edje(Object):
1302 signal_cb) 1302 signal_cb)
1303 1303
1304 def signal_emit(self, emission, source): 1304 def signal_emit(self, emission, source):
1305 "Emit signal with ``emission`` and ``source``" 1305 """Emit signal with ``emission`` and ``source``"""
1306 if isinstance(emission, unicode): emission = PyUnicode_AsUTF8String(emission) 1306 if isinstance(emission, unicode): emission = PyUnicode_AsUTF8String(emission)
1307 if isinstance(source, unicode): source = PyUnicode_AsUTF8String(source) 1307 if isinstance(source, unicode): source = PyUnicode_AsUTF8String(source)
1308 edje_object_signal_emit(self.obj, 1308 edje_object_signal_emit(self.obj,
diff --git a/efl/emotion/efl.emotion.pyx b/efl/emotion/efl.emotion.pyx
index 6d07cdf..6206da0 100644
--- a/efl/emotion/efl.emotion.pyx
+++ b/efl/emotion/efl.emotion.pyx
@@ -1157,99 +1157,99 @@ cdef class Emotion(evasObject):
1157 _emotion_callback) 1157 _emotion_callback)
1158 1158
1159 def on_frame_decode_add(self, func, *args, **kargs): 1159 def on_frame_decode_add(self, func, *args, **kargs):
1160 "Same as calling: callback_add('frame_decode', func, ...)" 1160 """Same as calling: callback_add('frame_decode', func, ...)"""
1161 self.callback_add("frame_decode", func, *args, **kargs) 1161 self.callback_add("frame_decode", func, *args, **kargs)
1162 1162
1163 def on_frame_decode_del(self, func): 1163 def on_frame_decode_del(self, func):
1164 "Same as calling: callback_del('frame_decode', func)" 1164 """Same as calling: callback_del('frame_decode', func)"""
1165 self.callback_del("frame_decode", func) 1165 self.callback_del("frame_decode", func)
1166 1166
1167 def on_frame_resize_add(self, func, *args, **kargs): 1167 def on_frame_resize_add(self, func, *args, **kargs):
1168 "Same as calling: callback_add('frame_resize', func, ...)" 1168 """Same as calling: callback_add('frame_resize', func, ...)"""
1169 self.callback_add("frame_resize", func, *args, **kargs) 1169 self.callback_add("frame_resize", func, *args, **kargs)
1170 1170
1171 def on_frame_resize_del(self, func): 1171 def on_frame_resize_del(self, func):
1172 "Same as calling: callback_del('frame_resize', func)" 1172 """Same as calling: callback_del('frame_resize', func)"""
1173 self.callback_del("frame_resize", func) 1173 self.callback_del("frame_resize", func)
1174 1174
1175 def on_length_change_add(self, func, *args, **kargs): 1175 def on_length_change_add(self, func, *args, **kargs):
1176 "Same as calling: callback_add('length_change', func, ...)" 1176 """Same as calling: callback_add('length_change', func, ...)"""
1177 self.callback_add("length_change", func, *args, **kargs) 1177 self.callback_add("length_change", func, *args, **kargs)
1178 1178
1179 def on_length_change_del(self, func): 1179 def on_length_change_del(self, func):
1180 "Same as calling: callback_del('length_change', func)" 1180 """Same as calling: callback_del('length_change', func)"""
1181 self.callback_del("length_change", func) 1181 self.callback_del("length_change", func)
1182 1182
1183 def on_decode_stop_add(self, func, *args, **kargs): 1183 def on_decode_stop_add(self, func, *args, **kargs):
1184 "Same as calling: callback_add('decode_stop', func, ...)" 1184 """Same as calling: callback_add('decode_stop', func, ...)"""
1185 self.callback_add("decode_stop", func, *args, **kargs) 1185 self.callback_add("decode_stop", func, *args, **kargs)
1186 1186
1187 def on_decode_stop_del(self, func): 1187 def on_decode_stop_del(self, func):
1188 "Same as calling: callback_del('decode_stop', func)" 1188 """Same as calling: callback_del('decode_stop', func)"""
1189 self.callback_del("decode_stop", func) 1189 self.callback_del("decode_stop", func)
1190 1190
1191 def on_channels_change_add(self, func, *args, **kargs): 1191 def on_channels_change_add(self, func, *args, **kargs):
1192 "Same as calling: callback_add('channels_change', func, ...)" 1192 """Same as calling: callback_add('channels_change', func, ...)"""
1193 self.callback_add("channels_change", func, *args, **kargs) 1193 self.callback_add("channels_change", func, *args, **kargs)
1194 1194
1195 def on_channels_change_del(self, func): 1195 def on_channels_change_del(self, func):
1196 "Same as calling: callback_del('channels_change', func)" 1196 """Same as calling: callback_del('channels_change', func)"""
1197 self.callback_del("channels_change", func) 1197 self.callback_del("channels_change", func)
1198 1198
1199 def on_title_change_add(self, func, *args, **kargs): 1199 def on_title_change_add(self, func, *args, **kargs):
1200 "Same as calling: callback_add('title_change', func, ...)" 1200 """Same as calling: callback_add('title_change', func, ...)"""
1201 self.callback_add("title_change", func, *args, **kargs) 1201 self.callback_add("title_change", func, *args, **kargs)
1202 1202
1203 def on_title_change_del(self, func): 1203 def on_title_change_del(self, func):
1204 "Same as calling: callback_del('title_change', func)" 1204 """Same as calling: callback_del('title_change', func)"""
1205 self.callback_del("title_change", func) 1205 self.callback_del("title_change", func)
1206 1206
1207 def on_progress_change_add(self, func, *args, **kargs): 1207 def on_progress_change_add(self, func, *args, **kargs):
1208 "Same as calling: callback_add('progress_change', func, ...)" 1208 """Same as calling: callback_add('progress_change', func, ...)"""
1209 self.callback_add("progress_change", func, *args, **kargs) 1209 self.callback_add("progress_change", func, *args, **kargs)
1210 1210
1211 def on_progress_change_del(self, func): 1211 def on_progress_change_del(self, func):
1212 "Same as calling: callback_del('progress_change', func)" 1212 """Same as calling: callback_del('progress_change', func)"""
1213 self.callback_del("progress_change", func) 1213 self.callback_del("progress_change", func)
1214 1214
1215 def on_ref_change_add(self, func, *args, **kargs): 1215 def on_ref_change_add(self, func, *args, **kargs):
1216 "Same as calling: callback_add('ref_change', func, ...)" 1216 """Same as calling: callback_add('ref_change', func, ...)"""
1217 self.callback_add("ref_change", func, *args, **kargs) 1217 self.callback_add("ref_change", func, *args, **kargs)
1218 1218
1219 def on_ref_change_del(self, func): 1219 def on_ref_change_del(self, func):
1220 "Same as calling: callback_del('ref_change', func)" 1220 """Same as calling: callback_del('ref_change', func)"""
1221 self.callback_del("ref_change", func) 1221 self.callback_del("ref_change", func)
1222 1222
1223 def on_button_num_change_add(self, func, *args, **kargs): 1223 def on_button_num_change_add(self, func, *args, **kargs):
1224 "Same as calling: callback_add('button_num_change', func, ...)" 1224 """Same as calling: callback_add('button_num_change', func, ...)"""
1225 self.callback_add("button_num_change", func, *args, **kargs) 1225 self.callback_add("button_num_change", func, *args, **kargs)
1226 1226
1227 def on_button_num_change_del(self, func): 1227 def on_button_num_change_del(self, func):
1228 "Same as calling: callback_del('button_num_change', func)" 1228 """Same as calling: callback_del('button_num_change', func)"""
1229 self.callback_del("button_num_change", func) 1229 self.callback_del("button_num_change", func)
1230 1230
1231 def on_button_change_add(self, func, *args, **kargs): 1231 def on_button_change_add(self, func, *args, **kargs):
1232 "Same as calling: callback_add('button_change', func, ...)" 1232 """Same as calling: callback_add('button_change', func, ...)"""
1233 self.callback_add("button_change", func, *args, **kargs) 1233 self.callback_add("button_change", func, *args, **kargs)
1234 1234
1235 def on_button_change_del(self, func): 1235 def on_button_change_del(self, func):
1236 "Same as calling: callback_del('button_change', func)" 1236 """Same as calling: callback_del('button_change', func)"""
1237 self.callback_del("button_change", func) 1237 self.callback_del("button_change", func)
1238 1238
1239 def on_playback_finished_add(self, func, *args, **kargs): 1239 def on_playback_finished_add(self, func, *args, **kargs):
1240 "Same as calling: callback_add('playback_finished', func, ...)" 1240 """Same as calling: callback_add('playback_finished', func, ...)"""
1241 self.callback_add("playback_finished", func, *args, **kargs) 1241 self.callback_add("playback_finished", func, *args, **kargs)
1242 1242
1243 def on_playback_finished_del(self, func): 1243 def on_playback_finished_del(self, func):
1244 "Same as calling: callback_del('playback_finished', func)" 1244 """Same as calling: callback_del('playback_finished', func)"""
1245 self.callback_del("playback_finished", func) 1245 self.callback_del("playback_finished", func)
1246 1246
1247 def on_audio_level_change_add(self, func, *args, **kargs): 1247 def on_audio_level_change_add(self, func, *args, **kargs):
1248 "Same as calling: callback_add('audio_level_change', func, ...)" 1248 """Same as calling: callback_add('audio_level_change', func, ...)"""
1249 self.callback_add("audio_level_change", func, *args, **kargs) 1249 self.callback_add("audio_level_change", func, *args, **kargs)
1250 1250
1251 def on_audio_level_change_del(self, func): 1251 def on_audio_level_change_del(self, func):
1252 "Same as calling: callback_del('audio_level_change', func)" 1252 """Same as calling: callback_del('audio_level_change', func)"""
1253 self.callback_del("audio_level_change", func) 1253 self.callback_del("audio_level_change", func)
1254 1254
1255 1255
diff --git a/efl/evas/efl.evas_map.pxi b/efl/evas/efl.evas_map.pxi
index c91503a..13ac3c7 100644
--- a/efl/evas/efl.evas_map.pxi
+++ b/efl/evas/efl.evas_map.pxi
@@ -59,7 +59,7 @@ cdef class Map(object):
59 self.map = evas_map_new(count) 59 self.map = evas_map_new(count)
60 60
61 def delete(self): 61 def delete(self):
62 "delete the map object" 62 """delete the map object"""
63 evas_map_free(self.map) 63 evas_map_free(self.map)
64 self.map = NULL 64 self.map = NULL
65 65
diff --git a/efl/evas/efl.evas_object_polygon.pxi b/efl/evas/efl.evas_object_polygon.pxi
index ca2e9dd..bd2b85e 100644
--- a/efl/evas/efl.evas_object_polygon.pxi
+++ b/efl/evas/efl.evas_object_polygon.pxi
@@ -52,7 +52,7 @@ cdef class Polygon(Object):
52 evas_object_polygon_point_add(self.obj, x, y) 52 evas_object_polygon_point_add(self.obj, x, y)
53 53
54 def points_clear(self): 54 def points_clear(self):
55 "Remove all the points from the polygon" 55 """Remove all the points from the polygon"""
56 evas_object_polygon_points_clear(self.obj) 56 evas_object_polygon_points_clear(self.obj)
57 57
58 58
diff --git a/efl/evas/efl.evas_rect.pxi b/efl/evas/efl.evas_rect.pxi
index 9e02971..fa89101 100644
--- a/efl/evas/efl.evas_rect.pxi
+++ b/efl/evas/efl.evas_rect.pxi
@@ -131,7 +131,7 @@ cdef class Rect(object):
131 (self.__class__.__name__, self.x0, self.y0, self._w, self._h) 131 (self.__class__.__name__, self.x0, self.y0, self._w, self._h)
132 132
133 property x: 133 property x:
134 ":type: int" 134 """:type: int"""
135 def __get__(self): 135 def __get__(self):
136 return self.x0 136 return self.x0
137 137
@@ -141,7 +141,7 @@ cdef class Rect(object):
141 self.cx = x + self._w/2 141 self.cx = x + self._w/2
142 142
143 property left: # same as "x" 143 property left: # same as "x"
144 ":type: int" 144 """:type: int"""
145 def __get__(self): 145 def __get__(self):
146 return self.x0 146 return self.x0
147 147
@@ -151,7 +151,7 @@ cdef class Rect(object):
151 self.cx = x + self._w/2 151 self.cx = x + self._w/2
152 152
153 property right: 153 property right:
154 ":type: int" 154 """:type: int"""
155 def __get__(self): 155 def __get__(self):
156 return self.x1 156 return self.x1
157 157
@@ -161,7 +161,7 @@ cdef class Rect(object):
161 self.cx = self.x0 + self._w/2 161 self.cx = self.x0 + self._w/2
162 162
163 property center_x: 163 property center_x:
164 ":type: int" 164 """:type: int"""
165 def __get__(self): 165 def __get__(self):
166 return self.cx 166 return self.cx
167 167
@@ -171,7 +171,7 @@ cdef class Rect(object):
171 self.cx = cx 171 self.cx = cx
172 172
173 property y: 173 property y:
174 ":type: int" 174 """:type: int"""
175 def __get__(self): 175 def __get__(self):
176 return self.y0 176 return self.y0
177 177
@@ -181,7 +181,7 @@ cdef class Rect(object):
181 self.cy = y + self._h/2 181 self.cy = y + self._h/2
182 182
183 property top: # same as "y" 183 property top: # same as "y"
184 ":type: int" 184 """:type: int"""
185 def __get__(self): 185 def __get__(self):
186 return self.y0 186 return self.y0
187 187
@@ -191,7 +191,7 @@ cdef class Rect(object):
191 self.cy = y + self._h/2 191 self.cy = y + self._h/2
192 192
193 property bottom: 193 property bottom:
194 ":type: int" 194 """:type: int"""
195 def __get__(self): 195 def __get__(self):
196 return self.y1 196 return self.y1
197 197
@@ -201,7 +201,7 @@ cdef class Rect(object):
201 self.cy = self.y0 + self._h/2 201 self.cy = self.y0 + self._h/2
202 202
203 property center_y: 203 property center_y:
204 ":type: int" 204 """:type: int"""
205 def __get__(self): 205 def __get__(self):
206 return self.cy 206 return self.cy
207 207
@@ -211,7 +211,7 @@ cdef class Rect(object):
211 self.cy = cy 211 self.cy = cy
212 212
213 property w: 213 property w:
214 ":type: int" 214 """:type: int"""
215 def __get__(self): 215 def __get__(self):
216 return self._w 216 return self._w
217 217
@@ -221,7 +221,7 @@ cdef class Rect(object):
221 self.cx = self.x0 + w/2 221 self.cx = self.x0 + w/2
222 222
223 property width: 223 property width:
224 ":type: int" 224 """:type: int"""
225 def __get__(self): 225 def __get__(self):
226 return self._w 226 return self._w
227 227
@@ -231,7 +231,7 @@ cdef class Rect(object):
231 self.cx = self.x0 + w/2 231 self.cx = self.x0 + w/2
232 232
233 property h: 233 property h:
234 ":type: int" 234 """:type: int"""
235 def __get__(self): 235 def __get__(self):
236 return self._h 236 return self._h
237 237
@@ -241,7 +241,7 @@ cdef class Rect(object):
241 self.cy = self.y0 + h/2 241 self.cy = self.y0 + h/2
242 242
243 property height: 243 property height:
244 ":type: int" 244 """:type: int"""
245 def __get__(self): 245 def __get__(self):
246 return self._h 246 return self._h
247 247
@@ -251,7 +251,7 @@ cdef class Rect(object):
251 self.cy = self.y0 + h/2 251 self.cy = self.y0 + h/2
252 252
253 property center: 253 property center:
254 ":type: (int **x**, int **y**)" 254 """:type: (int **x**, int **y**)"""
255 def __get__(self): 255 def __get__(self):
256 return (self.cx, self.cy) 256 return (self.cx, self.cy)
257 257
@@ -269,7 +269,7 @@ cdef class Rect(object):
269 self.cy = cy 269 self.cy = cy
270 270
271 property top_left: 271 property top_left:
272 ":type: (int **x**, int **y**)" 272 """:type: (int **x**, int **y**)"""
273 def __get__(self): 273 def __get__(self):
274 return (self.x0, self.y0) 274 return (self.x0, self.y0)
275 275
@@ -286,7 +286,7 @@ cdef class Rect(object):
286 self.cy = y + self._h/2 286 self.cy = y + self._h/2
287 287
288 property top_right: 288 property top_right:
289 ":type: (int **x**, int **y**)" 289 """:type: (int **x**, int **y**)"""
290 def __get__(self): 290 def __get__(self):
291 return (self.x1, self.y0) 291 return (self.x1, self.y0)
292 292
@@ -303,7 +303,7 @@ cdef class Rect(object):
303 self.cy = y + self._h/2 303 self.cy = y + self._h/2
304 304
305 property bottom_left: 305 property bottom_left:
306 ":type: (int **x**, int **y**)" 306 """:type: (int **x**, int **y**)"""
307 def __get__(self): 307 def __get__(self):
308 return (self.x0, self.y1) 308 return (self.x0, self.y1)
309 309
@@ -320,7 +320,7 @@ cdef class Rect(object):
320 self.cy = self.y0 + self._h/2 320 self.cy = self.y0 + self._h/2
321 321
322 property bottom_right: 322 property bottom_right:
323 ":type: (int **x**, int **y**)" 323 """:type: (int **x**, int **y**)"""
324 def __get__(self): 324 def __get__(self):
325 return (self.x1, self.y1) 325 return (self.x1, self.y1)
326 326
@@ -337,7 +337,7 @@ cdef class Rect(object):
337 self.cy = self.y0 + self._h/2 337 self.cy = self.y0 + self._h/2
338 338
339 property pos: 339 property pos:
340 ":type: (int **x**, int **y**)" 340 """:type: (int **x**, int **y**)"""
341 def __get__(self): 341 def __get__(self):
342 return (self.x0, self.y0) 342 return (self.x0, self.y0)
343 343
@@ -354,7 +354,7 @@ cdef class Rect(object):
354 self.cy = y + self._h/2 354 self.cy = y + self._h/2
355 355
356 property size: 356 property size:
357 ":type: (int **w**, int **h**)" 357 """:type: (int **w**, int **h**)"""
358 def __get__(self): 358 def __get__(self):
359 return (self._w, self._h) 359 return (self._w, self._h)
360 360
@@ -371,12 +371,12 @@ cdef class Rect(object):
371 self.cy = self.y0 + h/2 371 self.cy = self.y0 + h/2
372 372
373 property area: 373 property area:
374 ":type: (int **w**, int **h**)" 374 """:type: (int **w**, int **h**)"""
375 def __get__(self): 375 def __get__(self):
376 return self._w * self._h 376 return self._w * self._h
377 377
378 def normalize(self): 378 def normalize(self):
379 "Normalize coordinates so both width and height are positive." 379 """Normalize coordinates so both width and height are positive."""
380 cdef int tmp 380 cdef int tmp
381 if self._w < 0: 381 if self._w < 0:
382 tmp = self.x0 382 tmp = self.x0
@@ -391,7 +391,7 @@ cdef class Rect(object):
391 self._h = -self._h 391 self._h = -self._h
392 392
393 def __richcmp__(a, b, int op): 393 def __richcmp__(a, b, int op):
394 "Compares two rectangles for (in)equality" 394 """Compares two rectangles for (in)equality"""
395 cdef Rect o1, o2 395 cdef Rect o1, o2
396 cdef int res 396 cdef int res
397 if isinstance(a, Rect): 397 if isinstance(a, Rect):
@@ -417,12 +417,12 @@ cdef class Rect(object):
417 raise TypeError("unsupported comparison operation") 417 raise TypeError("unsupported comparison operation")
418 418
419 def __nonzero__(self): 419 def __nonzero__(self):
420 "Checks if all coordinates are not zero." 420 """Checks if all coordinates are not zero."""
421 return bool(self.x0 != 0 and self._w != 0 and \ 421 return bool(self.x0 != 0 and self._w != 0 and \
422 self.y0 != 0 and self._h != 0) 422 self.y0 != 0 and self._h != 0)
423 423
424 def __contains__(self, obj): 424 def __contains__(self, obj):
425 "Checks if contains given rectangle." 425 """Checks if contains given rectangle."""
426 cdef Rect o 426 cdef Rect o
427 if isinstance(obj, Rect): 427 if isinstance(obj, Rect):
428 o = obj 428 o = obj