Lukas Petru added the comment:
Well, I read that text before, but it may be because I am not native english
speaker that I interpret the text differently. Let's go through it one step at
a time and show me where I am wrong.
1) The nonlocal statement causes the listed identifiers to ref
New submission from Lukas Petru :
Can "nonlocal x" declaration also reference global x? I would assume that
global scope automatically encloses all other scopes. But the nonlocal keyword
seems to exclude global scope. This seems counter-intuitive. (maybe bug in
implementation?)
F