Kai Huuhko
225f061b05
With "except *" a call is made to PyErr_Occurred on each call of a function. Adding a return value where possible and using an appropriate exception value calls PyErr_Occurred only when that value is returned, ie. an exception has been raised. cdef void example_func() except *: <- PyErr_Occurred called on each call cdef int example_func() except 0: <- PyErr_Occurred called only when an exception has been raised (the function thus returns 0) |
||
---|---|---|
.. | ||
dbus_mainloop | ||
ecore | ||
edje | ||
eldbus | ||
elementary | ||
emotion | ||
eo | ||
evas | ||
utils | ||
__init__.py |