1 Dec
2022
1 Dec
'22
8:58 a.m.
On 1/12/22 9:27 am, Anony Mous wrote:
The idea is that YOU write "local:", and the interpreter, without you ever seeing it, promotes that into a hidden function with a hidden name and a hidden call.
But if that's *all* it does, then this wouldn't happen:
I would expect them to return to, or yield to, the next outer "def" function, assuming they were in a "local:" inside another function.
-- Greg