[Python-Dev] string.find() again (was Re: timsort for jython)

Tim Peters tim.one@comcast.net
Mon, 05 Aug 2002 12:47:37 -0400

> ...
> I don't like exists().  Maybe we should finally implement "s1 in s2"
> as "s2.find(s1) >= 0", i.e. add a __contains__ method to strings?

I asked you about that a few weeks ago, and you were agreeable.  I posted
that info to c.l.py, saying that if anyone cared enough to submit a patch,
the idea was pre-approved.  AFAIK, nobody bit (but I didn't pay much
attention to patches last week -- hope springs eternal <wink>).