On Tue, May 5, 2009 at 8:11 AM, Lie Ryan <[email protected]> wrote:

> Bring on your hardest searches...

Nice!

> The Suite class is only there to turn the NotFound sentinel from len(text)
> to -1 (used len(text) since it simplifies the code a lot...)

How does this simplify the code? Why not use the 'in' operator and
return True or False from the terms?

Kent
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to