Jonathan Fine wrote:
It not me, but Chris and Steve who
want to bind dict.update to an operator, namely '+'. I'm suggested
that if you do that, why not call the operator 'update'.

One reason would be that '+' is short, whereas 'update' is long.

A large part of the reason that common operations are written
using infix operators is that the operator symbols used are very
compact. That benefit disappears if your operator is an entire
word.

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