Can I offer an alternative suggestion?

How about these arrow operators, which despite being 3 characters, look
pretty nice, and are not currently valid python:

a <== b <== c
a ==> b ==> c

Perhaps __larrow__ and __rarrow__ for the dunders.

And they would not be the only 3 character operators in python:

//=, **=, >>=, <<=
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to