[Python-ideas] Adding "+" and "+=" operators to dict

Chris Barker - NOAA Federal chris.barker at noaa.gov
Thu Feb 12 23:14:46 CET 2015


>
> (And no, you can't argue that dict should be given a
> + operator just so you can give it a += operator!)

Well, I like + anyway, so I don't need to even try that argument.

For the record, the fact that + doesn't work for sets is confusing to
non-computer scientists, too. ( or logicians )

-Chris

>
> --
> Greg
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/


More information about the Python-ideas mailing list