Are sets in Python mutable?
In other words, if I do this:
x = set([1, 2, 3]) y = x y |= set([4, 5, 6])
Are x and
x
I don't think Python sets are mutable as mentioned clearly in book "Learning Python 5th Edition by Mark Lutz - Oreilly Publications"