Lambert, David W (S&T) wrote:
Overly terse.  I do mean that this is illegal:

isinstance(s, {str, bytes})

tuples have order, immutability, and the possibility of repeat items.

A set is most reasonable in a mathematical sense.

I agree.  However, isinstance predates set.  Hence the status quo.

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to