[Python-ideas] How assignment should work with generators?

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Nov 28 00:15:47 EST 2017

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.


More information about the Python-ideas mailing list