Josiah Carlson wrote:

> Given search as a potential replacement, about the only question is
> whether count should default to sys.maxint or 1.

Do you think that there will be many use cases for
count values *other* than 1 or sys.maxint? If not,
it might be more sensible to have two functions,
search() and searchall().

And while we're on this, what about list.index?
Should it also be replaced with list.search or
whatever as well?

--
Greg
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to