3 ms·
The nonlocal declaration is considered usage if you use a global statement in the same textual code block preceding the global itself. That is what makes it a
by chirau 7y ago
The nonlocal declaration is considered usage if you use a global statement in the same textual code block preceding the global itself.
That is what makes it a syntax error.