Steven D'Aprano wrote:
How does "stop iterating here" equate to a wildcard?

The * means "I don't care what else the sequence has in it".

Because I don't care, there's no need to iterate any further.

--
Greg

_______________________________________________
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