Immutable sequence types lacking index() method

Anne Wangnick anne.wangnick at
Tue Aug 31 21:13:00 CEST 2004

Dear all,

I don't get why the index() method is only defined for mutable sequence
types. This is not what I expected. Shouldn't this be added in Python? Is
there such a PEP already?

Sebastian Wangnick

More information about the Python-list mailing list