Paul Prescod wrote: > I also didn't know about the optional arguments to startswith and wonder > if they are much used or just cruft.
Looking through the string methods, it appears that only a few of them, seemingly chosen arbitrarily, have start and stop arguments. Seems to me a string-view object supporting all of the string methods would be a much better idea than this haphazard mixture, and would fit in nicely with the Py3k views philosophy. -- 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
