[Python-ideas] Dict joining using + and +=
greg.ewing at canterbury.ac.nz
Tue Mar 5 17:13:55 EST 2019
Rhodri James wrote:
> I have to go and look in the documentation because I
> expect the union operator to be '+'.
Anyone raised on Pascal is likely to find + and * more
natural. Pascal doesn't have bitwise operators, so it
re-uses + and * for set operations. I like the economy
of this arrangement -- it's not as if there's any
other obvious meaning that + and * could have for sets.
More information about the Python-ideas