[Python-Dev] Allow assignments in 'global' statements?
Guido van Rossum
guido at python.org
Thu Jun 22 17:15:59 CEST 2006
More information about the Python-Dev mailing list
Thu Jun 22 17:15:59 CEST 2006
- Previous message: [Python-Dev] Allow assignments in 'global' statements?
- Next message: [Python-Dev] Weekly Python Patch/Bug Summary
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 6/21/06, Talin <talin at acm.org> wrote: > I'm sure I am not the first person to say this, but how about: > > global x = 12 > > (In other words, declare a global and assign a value to it - or another > way of saying it is that the 'global' keyword acts as an assignment > modifier.) -1. If you get this feeling, surely you're overusing global. -- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] Allow assignments in 'global' statements?
- Next message: [Python-Dev] Weekly Python Patch/Bug Summary
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list