Returning from a multiple stacked call at once

ast ast at invalid
Sat Dec 12 11:49:56 EST 2020


Le 12/12/2020 à 17:10, Oscar a écrit :
> In article <5fd465b5$0$8956$426a74cc at news.free.fr>, ast  <ast at invalid> wrote:
>> Hello
>>
>> In case a function recursively calls itself many times,
>> is there a way to return a data immediately without
>> unstacking all functions ?
> 
> If you are referring to your "are you ok?" problem, please read up on
> recursion and when and how to use it. You were doing it completely
> wrong. You only call a function from *whitin itself* if you need
> recursion. It's quite hard to explain in a few words, so just google it.
> I'm sure there are many great explanations around.
> 

not understood.


More information about the Python-list mailing list