[Fred Drake]
> I'd be happy seeing these methods added to tuple; there's
> no reason that they would only be useful on mutable sequences.

That reminds me, I've always thought Sequence.__contains__().
should always be accompanied by Sequence.index().  Their
use cases are strongly related:

  Good news: I searched your house and found your keys
  Bad news: I don't have method to tell you where I found them


Raymond
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to