nonlocal fails ?

R.Wieser address at not.available
Thu Nov 14 12:14:36 EST 2019


MRAB,

> 'nonlocal' is used where the function is nested in another function

The problem is that that was not clear to me from the description - nor is 
it logical to me why it exludes the main context from its use.

Regards,
Rudy Wieser




More information about the Python-list mailing list