[Python-Dev] Allow assignments in 'global' statements? (original) (raw)

Talin talin at acm.org
Thu Jun 22 04:34:00 CEST 2006


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



More information about the Python-Dev mailing list