In message <[EMAIL PROTECTED]>, Steven D'Aprano
wrote:

> On Sun, 05 Oct 2008 22:11:38 +1300, Lawrence D'Oliveiro wrote:
> 
>> In message <[EMAIL PROTECTED]>, Steven D'Aprano
>> wrote:
>> 
>>> 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.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to