Immutable sequence types lacking index() method

Anne Wangnick anne.wangnick at t-online.de
Tue Aug 31 15:13:00 EDT 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?

Regards,
Sebastian Wangnick




More information about the Python-list mailing list