[Python-ideas] get() method for list and tuples
David Mertz
mertz at gnosis.cx
Sun Mar 5 13:17:59 EST 2017
On Sun, Mar 5, 2017 at 10:13 AM, David Mertz <mertz at gnosis.cx> wrote:
> Specifically, if I think I'm dealing with a list that is likely to have 20
> items (rather than maybe 4 or fewer), I'm almost sure the best way to deal
> with it is in a list (or comprehension, map(), etc) and NOT by poking into
> large index positions that may or may not be present.
>
I meant "in a LOOP" above.
--
Keeping medicines from the bloodstreams of the sick; food
from the bellies of the hungry; books from the hands of the
uneducated; technology from the underdeveloped; and putting
advocates of freedom in prisons. Intellectual property is
to the 21st century what the slave trade was to the 16th.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170305/65d97832/attachment.html>
More information about the Python-ideas
mailing list