[Python-Dev] replacing 'global'

Just van Rossum just at letterror.com
Sun Oct 26 06:19:26 EST 2003


Just van Rossum wrote:

> > * Would you be required to use := at each assignment or just the
> > first?
> 
> Just the first; "a = 2" still means "a is local to this scope".
  ^^^^^^^^^^^^^^
        Whoops, I meant *at each asignment*, obviously.

Just



More information about the Python-Dev mailing list