Invoking return through a function?

Rhodri James rhodri at kynesim.co.uk
Tue Oct 31 11:01:39 EDT 2017


On 31/10/17 02:06, Alberto Riva wrote:

Steve D'Aprano gave you a pretty full answer, I just wanted to add:

>  The kind of
> statement I was trying to add would at least have made that explicit: 
> return-if-so-and-so-happens.

That's only obvious in the function that's doing the returning.  The 
function that's doing the calling that gets its expectation of flow 
control broken has no clue, and that's my problem.

-- 
Rhodri James *-* Kynesim Ltd



More information about the Python-list mailing list