shouldn't 'string'.find('ugh') return 0, not -1 ?

jelle jelleferinga at gmail.com
Wed Oct 31 16:48:29 CET 2007


>    if 'something' in check:
>      do(somethingElse)

Tim, you're absolutely right that the above makes far more sense in my case.
Thanks for pointing that out.

-jelle




More information about the Python-list mailing list