a clarification on the "global" statement sought

Charles T. Smith cts.private.yahoo at gmail.com
Fri Mar 11 03:53:51 EST 2016


On Fri, 11 Mar 2016 19:29:20 +1100, Chris Angelico wrote:

> Usefully? Never.
> 
> Simple question - simple answer :)
> 
> ChrisA


Right, that was the expected answer as well.  I just ran into that in
legacy code, checked out the documentation and couldn't really make that
out.  So I figured I better ask here before I end up with egg on my face

:)

Thanks folks.

Actually, it would be nice if there were a -lint or -warnings flag
for such cases, a la perl or gcc.



More information about the Python-list mailing list