On Wed, Jun 13, 2018, 4:44 PM Michel Desmoulin <[email protected]> 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 [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
