[Python-ideas] PEP: Dict addition and subtraction

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Mar 16 04:04:22 EDT 2019

Another random thought about this: Mathematicians use addition as a
metaphor for quite a range of different things, but they tend to only
use the symbols ∪ and ∩ for actual sets, or things that are very
set-like. So maybe that's an argument for using '+' rather than '|'
for dict merging.


More information about the Python-ideas mailing list