[Python-Dev] replacing 'global'

Greg Ewing greg at cosc.canterbury.ac.nz
Sat Oct 25 21:20:33 EDT 2003


> How about adding a "rebinding" operator, for example spelled ":=":
>> a := 2

I expect Guido would object to that on the grounds that
it's conferring arbitrary semantics on a symbol.
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	 | A citizen of NewZealandCorp, a	 |
Christchurch, New Zealand	 | wholly-owned subsidiary of USA Inc. |
greg at cosc.canterbury.ac.nz	 +--------------------------------------+


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /