[Python-ideas] get() method for list and tuples

Barry barry at barrys-emacs.org
Wed Mar 1 13:06:26 EST 2017


> On 1 Mar 2017, at 01:26, Michel Desmoulin <desmoulinmichel at gmail.com> wrote:
> 
> - you can iterate on both
Maybe, bit do you want the keys, values or (key, value) items? Keys being the deafult.
> - you can index both
Maybe as you cannot in the general case know the index. Need keys().
> - you can size both
Yes

I think this duck cannot swim or quack.

Barry




More information about the Python-ideas mailing list