On 05/11/2020 11:48 PM, Brandt Bucher wrote:
On 05/10/2020 14:39 PM, Ethan Furman wrote:
On 05/10/2020 09:04 AM, Brandt Bucher wrote:
However, zip_longest is really another beast entirely
No, it isn't.
It has a completely independent implementation, a different interface, lives in
a separate namespace,
- both take an unknown number of iterables
- both return tuples
- both names start with `zip`
- both stop at exhaustion
- one as soon as possible
- the other as late as possible
- one has one extra parameter
Those seem like very similar beasts to me.
and doesn't even reference zip in its documentation.
So update the docs.
--
~Ethan~
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/python-dev@python.org/message/LJ3MDIPO3AZCTXIFNQ3AM4F2O72GUTZ3/
Code of Conduct: http://python.org/psf/codeofconduct/