[Python-ideas] Left arrow and right arrow operators

Oleg Broytman phd at phdru.name
Sun Mar 3 10:06:38 EST 2019


On Sun, Mar 03, 2019 at 03:46:24PM +0100, francismb <francismb at email.de> wrote:
> Hi,
> the idea here is just to add the __larrow__ and __rarrow__ operators for
> <- and ->.

   You cannot create operator ``<-`` because it's currently valid
syntax:

    3 <- 2

is equivalent to

    3 < -2

> Regards,
> --francis

Oleg.
-- 
    Oleg Broytman            https://phdru.name/            phd at phdru.name
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-ideas mailing list