[Python-Dev] Allow assignments in 'global' statements?
Talin
talin at acm.org
Thu Jun 22 04:34:00 CEST 2006
More information about the Python-Dev mailing list
Thu Jun 22 04:34:00 CEST 2006
- Previous message: [Python-Dev] ImportWarning flood
- Next message: [Python-Dev] Allow assignments in 'global' statements?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.)
-- Talin
- Previous message: [Python-Dev] ImportWarning flood
- Next message: [Python-Dev] Allow assignments in 'global' statements?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list