<div dir="ltr">Why does the default `Sequence.__contains__` iterate through the items rather than use `.index`, which may sometimes be more efficient?<div><br></div><div>I suggest an implementation like this: </div><div><br></div><div><div><div><div>    def __contains__(self, i):</div><div>        try: self.index(i)</div><div>        except ValueError: return False</div><div>        else: return True</div><div>        </div></div></div></div><div>What do you think? </div></div>