[Python-Dev] replacing 'global'
Just van Rossum
just at letterror.com
Sun Oct 26 06:19:26 EST 2003
More information about the Python-Dev mailing list
Sun Oct 26 06:19:26 EST 2003
- Previous message: [Python-Dev] replacing 'global'
- Next message: [Python-Dev] replacing 'global'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] replacing 'global'
- Next message: [Python-Dev] replacing 'global'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list