[Python-ideas] on colon ':', and some more

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Feb 13 23:54:55 CET 2014


Terry Reedy wrote:
> Math gets away with overloading = 

Some programming languages get away with it too, e.g. BASIC.
But if you do that, you give up the possibility of chained
assignments, e.g.

    x = y = z = 0

to set x, y and z to 0.

-- 
Greg


More information about the Python-ideas mailing list