5 Mar
2019
5 Mar
'19
9:42 a.m.
Indeed the "obscure" argument should be thrown away. The `|` operator in sets seems to be evident for every one on this list but I would be curious to know how many people first got a TypeError doing set1 + set2 and then found set1 | set2 in the doc. Except for math geek the `|` is always something obscure.
Even if dict1 - dict2 were added to the language, I think I'd steer clear of it as being too obscure. Everything is obscure until people learn it and get used to it.