On Wed, Jun 13, 2018, 4:44 PM Michel Desmoulin <desmoulinmic...@gmail.com>
wrote:

> several startswith() and endswith() require a loop, but we could make
> them accept *args.
>

You mean something like:

"Lorem ipsum".startswith(('Lo', 'Hi', 'Foo'))

You might want to check the time machine.

>
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to