L
Lawrence D'Oliveiro
Steven D'Aprano said:Steven D'Aprano said:Would it really be "confusing" if sets used the same interface as dicts
use? I don't think so. What else could "del aset[x]" mean other than
"delete element x"?
Yes, but "x" in what sense?
The only sense possible.
There is no precedent for using a set element as a subscript to the set.