2007/10/31, jelle <[EMAIL PROTECTED]>:
> the subject pretty much says it all.
> if I check a string for for a substring, and this substring isn't found,
> should't the .find method return 0 rather than -1?
> this breaks the

IMHO "0" would mean the substring starts at index 0 of the iterable.

If that changes it should return "None" in python instead of a int anyway, no?

-- 
http://noneisyours.marcher.name
http://feeds.feedburner.com/NoneIsYours
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to