[Python-ideas] Add .= as a method return value assignment operator

Ken Hilton kenlhilton at gmail.com
Thu Sep 27 06:48:19 EDT 2018

Hi Jasper,
This seems like a great idea! It looks so much cleaner, too.

Would there be a dunder method handling this? Or since it's explicitly just
a syntax for "obj = obj.method()" is that not necessary?
My only qualm is that this might get PHP users confused; that's really not
an issue, though, since Python is not PHP.

Anyway, I fully support this idea.

Ken Hilton;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180927/e9903d5b/attachment.html>

More information about the Python-ideas mailing list