A 'Python like' language

Paul Rubin http
Tue Mar 30 17:49:45 EST 2004


"Mark Hahn" <mark at prothon.org> writes:
> Any ideas on how to implement assignment expressions and not have if x = y:
> ambiguity problems?
> 
> I've considered using a different syntax for the expression version of "=",
> such as ":=" or even left.replace!(right).

:= is the variant discussed most often around here.  left.replace!(right)
only works if left is already bound to an object.



More information about the Python-list mailing list