On 30/03/2016 20:35, Marco Sulla via Python-list wrote:
On 30 March 2016 at 02:55, Terry Reedy <tjre...@udel.edu> wrote:
To me [seq.items() and seq.keys()] are useless and confusing duplications since
enumerate()(seq)
and range(len(seq)) are quite different from dict.items and dict.keys.
It's true. Indeed IMHO it's enumerate() that will be a confusing duplication.
Please explain how a builtin that was brought in due to popular demand
can be a "confusing duplication".
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list