No return to the parent function
peloko45 at gmail.com
Tue Feb 2 17:42:12 CET 2010
I've a main function called i.e. *foo()* which has a block of code
that is repetead several times (for the error catching code and error
reporting), but that code has a return to exit of *foo()*
return ReturnCode.ERROR, None
So I would tu put that code block into a separated function (*throw()
*), but the problem is that it returns to the parent function (foo()).
How to solve it?
More information about the Python-list