On 13.04.2017 20:20, Steven D'Aprano wrote:
- And finally, I fail to see how having to type an extra four characters
is a "convenience".

Just for the sake of completeness:

Re-usage of names is always a convenience. Developers can use a string variable to access dynamically both the real dunder method and the operator one. It's a frequently used pattern. Whether it's necessary here, is different matter.

Sven
_______________________________________________
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